PGDATA / data_directory

From: Benoit Lobréau <blo(dot)capdata(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: PGDATA / data_directory
Date: 2016-08-31 07:45:52
Message-ID: CAPE8EZ6ToyA=MMzL7Z-dyhhXhrtuAOgOd6we=cxjhTNd7JdiWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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 ?

Thanks for your help / remarks / feedback.

Benoit.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bastien Bodart 2016-08-31 12:43:30 Filters not supported for LDAP authentication
Previous Message Mike Sofen 2016-08-31 03:33:38 Re: UUIDs & Clustered Indexes