Skip site navigation (1) Skip section navigation (2)

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

From: Chris <dmagick(at)gmail(dot)com>
To: Grzegorz Jas'kiewicz <gryzman(at)gmail(dot)com>
Cc: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: two or more pg installations running as the same user
Date: 2008-11-25 22:29:22
Message-ID: 492C7C42.2040807@gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
Grzegorz Jas'kiewicz wrote:
> 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 ?

Yep.

If they are different versions of postgres (eg 8.2/8.3), make sure you 
initdb with the right one :)

-- 
Postgresql & php tutorials
http://www.designmagick.com/


In response to

Responses

pgsql-general by date

Next:From: Grzegorz JaśkiewiczDate: 2008-11-25 22:33:23
Subject: Re: two or more pg installations running as the same user
Previous:From: Dave PageDate: 2008-11-25 20:05:10
Subject: Re: Separate Sessions?? (View data <-> Query tool)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group