Search Postgresql Archives

Re: two or more pg installations running as the same user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





2008/11/25 Grzegorz Jaśkiewicz <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:

initdb -D /tmp/data1
vim /tmp/data1/postgresql.conf +/port
pg_ctl start -D /tmp/data1

initdb -D /tmp/data2
vim /tmp/data2/postgresql.conf +/port
pg_ctl start -D /tmp/data2


 



--
GJ



--
Filip Rembiałkowski

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux