Re: [GENERAL] running two clusters on one machine

2009-03-30 Thread Adrian Klaver
- "Emanuel Calvo Franco" wrote: > To run servers at diferent ports you must use postgres binary. > > postgres -D data1 -p 5432 -l logfile & > postgres -D data2 -p 5433 -l logfile & That is not true. You can set the port in the postgresql.conf for each cluster to be different and use pg_ct

Re: [GENERAL] running two clusters on one machine

2009-03-30 Thread Emanuel Calvo Franco
To run servers at diferent ports you must use postgres binary. postgres -D data1 -p 5432 -l logfile & postgres -D data2 -p 5433 -l logfile & I never used pg_ctl to run postgres and don't ask me why. 2009/3/28, Eric Smith : > All, > > I'm trying to run two database clusters on a single machine,

[GENERAL] running two clusters on one machine

2009-03-28 Thread Eric Smith
All, I'm trying to run two database clusters on a single machine, and am failing. I use initdb to create the two clusters... each has their own directory structure. I can start one server or the other with pg_ctl, but once the first starts, the second just hangs on "waiting for server t