This project is archived and is in readonly mode.

#208 ✓invalid
Robby Russell

PQserverVersion not supported by this client version

Reported by Robby Russell | May 16th, 2008 @ 05:49 PM

Just upgraded to edge Rails and started to see this. It looks like the connection responds to server_version but libpq doesn't on my machine. Saw a few mentions of this on the old Rails Trac as well.

** Execute db:abort_if_pending_migrations

rake aborted!

PQserverVersion not supported by this client version.

vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb:795:in `server_version'

Comments and changes to this ticket

  • Robby Russell

    Robby Russell May 16th, 2008 @ 06:01 PM

    I'm running PostgreSQL 8.2.6 via MacPorts on Leopard.

    Gem: postgres (0.7.9.2008.01.09)

  • Tarmo Tänav

    Tarmo Tänav May 16th, 2008 @ 07:19 PM

    The error you're seeing should only exist in ruby-pg and not the postgres gem. The error is only compiled into ruby-pg if it determines your postgresql version to be older than 8.0. So you may want to make sure that you don't compile ruby-pg against an old version of libpq or just that you recompile ruby-pg.

    Note that if you have both postgres and ruby-pg gems rails will prefer ruby-pg, I believe ruby-pg is the more actively developed one.

  • Rick

    Rick May 16th, 2008 @ 07:37 PM

    • State changed from “new” to “invalid”

    Closed at Tarmo's request.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages