On Fri, 14 Feb 2003, Chris Hayner wrote:
>
> Hi. I was wondering if there was any way to have one database up in full
> accessibility mode, (i.e. usr/local/pgsql/bin/postmaster -i -D /usr/local/pgsql/data)
> and another in just local host
> (i.e. /usr/local/pgsql/bin/postmaster -d 2 -D /usr/local/pgsql/data -h
> 127.0.0.1 -i)
Yes, but they'll need different arguments for the -D switch. Best bet is
to turn off tcpip_socket on the one you want to run local only. That
means you'll need two different data directories.