Re: PGDATA / data_directory

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: PGDATA / data_directory
Дата
Msg-id 20160904094037.lgfppbzgna5nx6ku@msg.df7cb.de
обсуждение исходный текст
Ответ на PGDATA / data_directory  (Benoit Lobréau <blo.capdata@gmail.com>)
Ответы Re: PGDATA / data_directory  (Jehan-Guillaume de Rorthais <ioguix@free.fr>)
Список pgsql-general
Re: Benoit Lobréau 2016-08-31 <CAPE8EZ6ToyA=MMzL7Z-dyhhXhrtuAOgOd6we=cxjhTNd7JdiWA@mail.gmail.com>
> Hi,
>
> My company is using PGDATA to store configuration files and the guc
> data_directory to give the path to the instance directory.
>
> They would use it like this:
>
> pg_ctl start -D <path to CONFDIR> -w
>
> with this directory setup:
>
> <somepath>/CONFDIR => postgresql.conf pg_hba.conf pg_ident.conf
> <somepath>/SYSTEM => All the normal stuff in the postgres instance
> directory + recovery.conf recovery.done etc...
>
> Is it commonly used ?

That's the default cluster layout on Debian (and Debian-based
distributions).

/etc/postgresql/9.5/main/
/var/lib/postgresql/9.5/main/
/var/run/postgresql/9.5-main.pg_stat_tmp/

Christoph


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

Предыдущее
От: Charles Clavadetscher
Дата:
Сообщение: Re: Upgrading using pg_dumpall
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: Upgrading using pg_dumpall