Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

PQserverVersion not supported by this client version

#208

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'

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

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Robby Russell
    Robby Russell

    I'm running PostgreSQL 8.2.6 via MacPorts on Leopard.

    Gem: postgres (0.7.9.2008.01.09)

    May 16th, 2008 @ 06:01 PM

  2. Tarmo Tänav
    Tarmo Tänav

    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.

    May 16th, 2008 @ 07:19 PM

  3. Rick
    Rick
    • State changed from new to invalid

    Closed at Tarmo's request.

    May 16th, 2008 @ 07:37 PM