postgresql91-server install

Phillip Koebbe phillip.koebbe at gmail.com
Tue Jan 17 12:51:08 PST 2012


On Jan 17, 2012, at 12:25 PM, Érico wrote:

> Hi 
> 
> I am getting an error : 
> 
> bash-3.2$ psql -d postgres
> Welcome to psql 8.3.17 (server 9.1.2), the PostgreSQL interactive terminal.
> 
> Type:  \copyright for distribution terms
>        \h for help with SQL commands
>        \? for help with psql commands
>        \g or terminate with semicolon to execute query
>        \q to quit
> 
> WARNING:  You are connected to a server with major version 9.1,
> but your psql client is major version 8.3.  Some backslash commands,
> such as \d, might not work properly.
> 

By the way, if you look in /opt/local/bin, you will probably see a psql91 which symlinks /opt/local/lib/postgresql91/bin/psql. While you may not run into any problems connecting to server version 9.1 with client version 8.3, it's not a bad idea to use the same version of both pieces.

Phillip



More information about the macports-users mailing list