Discussion:
[ADMIN] simple question about two 'servers' on same OS
(too old to reply)
Gary Webster
2012-08-01 19:44:42 UTC
Permalink
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.
Joshua D. Drake
2012-08-01 19:59:01 UTC
Permalink
Post by Gary Webster
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
Post by Gary Webster
or only two separate datadir ?
Yes
Post by Gary Webster
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
--
Sent via pgsql-admin mailing list (pgsql-***@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Loading...