I've removed postgresql-8.1 and installed postgresql-8.2.4
however each time I type psql as a non-postgres user, it still looks for the 8.1 binary file. If I switch to the postgres user and execute psql, all is fine. Does anyone know how to fix this?
root@bla:/tmp # psql -l
bash: /usr/lib/postgresql/8.1/bin/psql: No such file or directory
root@bla:/tmp # su - postgres
postgres@bla:~$ psql -l
List of databases
Name | Owner | Encoding
------------+----------+-----------
postgres | postgres | SQL_ASCII
template0 | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
(3 rows)
postgres@bla:~$
Thank you in advance,
however each time I type psql as a non-postgres user, it still looks for the 8.1 binary file. If I switch to the postgres user and execute psql, all is fine. Does anyone know how to fix this?
root@bla:/tmp # psql -l
bash: /usr/lib/postgresql/8.1/bin/psql: No such file or directory
root@bla:/tmp # su - postgres
postgres@bla:~$ psql -l
List of databases
Name | Owner | Encoding
------------+----------+-----------
postgres | postgres | SQL_ASCII
template0 | postgres | SQL_ASCII
template1 | postgres | SQL_ASCII
(3 rows)
postgres@bla:~$
Thank you in advance,