Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Postgres servers

Status
Not open for further replies.

komyg

Programmer
Dec 13, 2005
68
0
0
BR
Hi, I am trying to install multiple PostgresSQL servers in my computer. I am running Kubuntu 6.06 LTS and I am trying to install PostgreSQL-7.4 and PostgreSQL-8.1 at the same time.

I've already changed the port configuration in /etc/postgres/7.4/main/postgresql.conf to 4432 and I am able to execute the psql of both versions in /usr/lib/postgres/[version]/bin/psql, but I want to create different users for the different versions like postgres81 will allways connect to PostgreSQL-8.1 and postgres74 will allways connecet to PostgresSQL-74.

I believe that I need to change the configuration in /etc/postgres-common/user_clusters and use pg_wrapper, but I don't know how to do that.

Can anyone help me?

Thanks,
Komyg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top