Re: starting postgres with several Data directories - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: starting postgres with several Data directories
Date
Msg-id dcc563d10912211335q135613f1r7de9dec675b22d79@mail.gmail.com
Whole thread Raw
In response to Re: starting postgres with several Data directories  (Scott Mead <scott.lists@enterprisedb.com>)
Responses Re: starting postgres with several Data directories  (Scott Mead <scott.lists@enterprisedb.com>)
List pgsql-admin
On Mon, Dec 21, 2009 at 2:26 PM, Scott Mead
<scott.lists@enterprisedb.com> wrote:
>
> On Mon, Dec 21, 2009 at 4:17 PM, Scott Marlowe <scott.marlowe@gmail.com>
> wrote:
>>
>>
>> Yes, it's fine.  Make a different data dir, point the postgresql.conf
>> gile to a different tcp port and off ya go.  I do it all the time to
>> test slony setup at work.
>
> Agreed, I've actually used it for a couple of different reasons, including
> production in a couple of different architectures, no worries about it,
> other than making sure you have enough memory on the box to support them
> all, along with the remembering which instance you're logged into at a given
> time :)

Yeah, I create a different "admin" account for each one, that has the
PGPORT and stuff already set, and setup pg_hba.conf to reject the
admin accounts from other instances so I don't do anything too stupid.

pgsql-admin by date:

Previous
From: Scott Mead
Date:
Subject: Re: starting postgres with several Data directories
Next
From: Scott Mead
Date:
Subject: Re: starting postgres with several Data directories