Filip Rembiałkowski wrote: > > > 2008/11/25 Grzegorz Jaśkiewicz <gryzman@xxxxxxxxx > <mailto:gryzman@xxxxxxxxx>> > > hey folks, > > I am thinking about testing enviroment here, and gotta setup > temporary instalation of postgres for that. More than one, because > software operates on few different connections, to different databases. > I know I can do it under same user, just by changing PGDATA/PGPORT > before initdb gets to run. But will it be safe otherwise ? > > > yes, no problem with that. for me it was just: > Hello Another method we use to run multiple postgresql clusters and multiple versions on the same server is to install extra IPs on the server using the same (default) port. If you use this method, it is very important that you define the right listen_addresses values and different unix_socket_directory values for each cluster running on the same server. We connect mostly via tcp/ip and not via sockets, this way the clients do not have to remember the port running their databases. Of course the initdb and start steps are the same as Filip has commented. regards, -- Rafael Martinez, <r.m.guerrero@xxxxxxxxxxx> Center for Information Technology Services University of Oslo, Norway PGP Public Key: http://folk.uio.no/rafael/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general