Re: [GENERAL] Multiple Postgres Instances

1999-01-21 Thread David Giffin
It looks like the .profile and /etc/profile were overriding the -D option. I set the profile to this: PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/pgsql/bin MANPATH=:/usr/local/pgsql/bin PGLIB=/usr/local/pgsql/lib # note: PGDATA overwrites the -D startup option # PGDATA=/usr/loca

Re: [GENERAL] Multiple Postgres Instances

1999-01-21 Thread Alex P. Rudnev
> Subject: Re: [GENERAL] Multiple Postgres Instances > > David Giffin wrote: > > > > Hello, > > > > I'm trying to run postgres on two different post 5432 and port 5433 with > > different data directories for each instance: > > > > [ -x /usr/l

Re: [GENERAL] Multiple Postgres Instances

1999-01-21 Thread Jeff Hoffmann
David Giffin wrote: > > Hello, > > I'm trying to run postgres on two different post 5432 and port 5433 with > different data directories for each instance: > > [ -x /usr/local/pgsql/bin/postmaster ] && { > su -l postgres -c '/usr/local/pgsql/bin/postmaster -S -i' > echo -n ' pgs