Re: Postgres port bindings changed after box restart

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Postgres port bindings changed after box restart
Дата
Msg-id 47CE5A70.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Postgres port bindings changed after box restart  ("Daniel Punton" <compass2k@gmail.com>)
Список pgsql-admin
>>> On Tue, Mar 4, 2008 at  5:07 PM, in message
<e969e33c0803041507p5c4fcc57m5dcd2eda01012c1a@mail.gmail.com>, "Daniel Punton"
<compass2k@gmail.com> wrote:
> Our redhat server was restarted and postgres is showing different databases
> on different ports?
> Could someone explain how this might happen
> and where this information comes from (what conf for port bindings)
> as is there a way of guarenteeing this will not happen on restarts.

It sounds like you have installed multiple PostgreSQL database
clusters, and more than one is configured to start automatically.
You might want to start by reviewing the documentation on what a
cluster is:

http://www.postgresql.org/docs/8.2/interactive/creating-cluster.html

Each will have its own data directory and a different port number
for connections.  The port number is normally configured in the
postgresql.conf file.

-Kevin




В списке pgsql-admin по дате отправления:

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Postgres port bindings changed after box restart
Следующее
От: David Fetter
Дата:
Сообщение: Re: [DOCS] Documenting a DB schema