Re: What is the motivation of include directive and - Mailing list pgsql-hackers

From Tom Lane
Subject Re: What is the motivation of include directive and
Date
Msg-id 4684.1169009431@sss.pgh.pa.us
Whole thread Raw
In response to Re: What is the motivation of include directive and  ("Takayuki Tsunakawa" <tsunakawa.takay@jp.fujitsu.com>)
Responses Re: What is the motivation of include directive and
List pgsql-hackers
"Takayuki Tsunakawa" <tsunakawa.takay@jp.fujitsu.com> writes:
> Still, I don't understand well why config files need to be placed
> outside the data directory, except for daring conform to FHS.

The killer argument for it is that most of what is in $PGDATA should be
excluded from your normal filesystem backup method, because you need to
be using some database-aware mechanism for backing up the database.  But
the config files are perfectly suited for standard filesystem backup,
and indeed will *not* be covered by, say, pg_dumpall.  So putting them
somewhere else helps in creating a coherent backup strategy.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Takayuki Tsunakawa"
Date:
Subject: Re: What is the motivation of include directive and
Next
From: "Takayuki Tsunakawa"
Date:
Subject: Re: What is the motivation of include directive and