pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
simple question about two 'servers' on same OS
2+ messages / 2 participants
[nested] [flat]

* simple question about two 'servers' on same OS
@ 2012-08-01 19:44 Gary Webster <webster@lexmark.com>
  2012-08-01 19:59 ` Re: simple question about two 'servers' on same OS Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Gary Webster @ 2012-08-01 19:44 UTC (permalink / raw)
  To: pgsql-admin

Hello.

When running two 'separate' instances of Postgres on the same machine (diff
ports), do I also have two separate installs of the binaries (prefix), or
only two separate datadir ?

If the former, should I make another "postgresb" superuser, or use the same
one?

If I have two separate prefix dirs, & only one "postgres" superuser, which
is its home dir, or does it matter?

Thanks.

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: simple question about two 'servers' on same OS
  2012-08-01 19:44 simple question about two 'servers' on same OS Gary Webster <webster@lexmark.com>
@ 2012-08-01 19:59 ` Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Joshua D. Drake @ 2012-08-01 19:59 UTC (permalink / raw)
  To: Gary Webster <webster@lexmark.com>; +Cc: pgsql-admin


On 08/01/2012 12:44 PM, Gary Webster wrote:
> Hello.
>
> When running two 'separate' instances of Postgres on the same machine
> (diff ports), do I also have two separate installs of the binaries
> (prefix),

No

> or only two separate datadir ?

Yes

> If I have two separate prefix dirs, & only one "postgres" superuser,
> which is its home dir, or does it matter?

Doesn't matter.

Sincerely,

Joshua D. Drake



-- 
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC
@cmdpromptinc - 509-416-6579



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2012-08-01 19:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-08-01 19:44 simple question about two 'servers' on same OS Gary Webster <webster@lexmark.com>
2012-08-01 19:59 ` Joshua D. Drake <jd@commandprompt.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox