Running psql in Linux Command Line

Posted by Mr Shoubs on Server Fault See other posts from Server Fault or by Mr Shoubs
Published on 2010-10-12T14:08:55Z Indexed on 2011/01/28 23:28 UTC
Read the original article Hit count: 398

Filed under:
|
|
|

I've just installed Postgres9 and it is up and running without any issues. There is one thing however that is confusing me:

If I type /usr/local/pgsql/bin/psql test then postgres command line loads and I can use it as expected, however...

If I cd /usr/local/pgsql/bin then type psql test I get the following error:

The program 'psql' is currently not installed. To run 'psql' please ask your administrator to install the package 'postgresql-client-common'

Does anyone know why? (please don't say install postgresql-client-common as this doesn't solve the problem)

© Server Fault or respective owner

Related posts about linux

Related posts about ubuntu