pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Johnson <ron.l.johnson@cox.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: initdb when data/ folder has mount points
Date: Thu, 22 Feb 2018 08:21:04 -0600
Message-ID: <40496a1d-3b3e-e36e-48fc-9122a1610a52@cox.net> (raw)
In-Reply-To: <DpNG1x01p1DF5NZ01pNJpC>
References: <3eb5e598-e31d-83dd-e3f3-b1ca8c03117d@cox.net>
	<2762.1519257684@sss.pgh.pa.us>
	<cf80b0f7-b845-ce9c-b2d6-63ebbb979455@pgmasters.net>
	<20180222061639.GB3370@paquier.xyz>
	<DpNG1x01p1DF5NZ01pNJpC>

On 02/22/2018 07:22 AM, David Steele wrote:
> On 2/22/18 1:16 AM, Michael Paquier wrote:
>> On Wed, Feb 21, 2018 at 07:56:38PM -0500, David Steele wrote:
>>> On 2/21/18 7:01 PM, Tom Lane wrote:
>>>> For pg_log, just put it somewhere else and set the appropriate
>>>> configuration option to say where to write the postmaster log files.
>>>> Or you could use a symlink, like the solution for pg_xlog, but
>>>> I don't see any advantage there.
>>> Symlinking pg_log is not ideal because the logs end up in the backup. It
>>> gets pretty weird when those logs get restored to a standby and somebody
>>> starts reading them.
>> log_directory in postgresql.conf san be set up with an absolute
>> directory value.  So there is no actual need for a symlink with pg_log.
>> This also reduces the amount of data transfered as part of base
>> backups without actually needing them.
> Yes, I really should have said having pg_log in the data directory at
> all is not ideal, symlinked or no.

Is there a Best Practices wiki? 
(https://wiki.postgresql.org/wiki/Detailed_installation_guides is pretty old 
and thin.)


-- 
Money Angular momentum makes the world go 'round.

view thread (9+ messages)

Message-ID: <40496a1d-3b3e-e36e-48fc-9122a1610a52@cox.net>
Permalink:  ../40496a1d-3b3e-e36e-48fc-9122a1610a52@cox.net/
Also on:    postgresql.org/message-id/40496a1d-3b3e-e36e-48fc-9122a1610a52@cox.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ron.l.johnson@cox.net
  Subject: Re: initdb when data/ folder has mount points
  In-Reply-To: <40496a1d-3b3e-e36e-48fc-9122a1610a52@cox.net>
  References: <3eb5e598-e31d-83dd-e3f3-b1ca8c03117d@cox.net> <2762.1519257684@sss.pgh.pa.us> <cf80b0f7-b845-ce9c-b2d6-63ebbb979455@pgmasters.net> <20180222061639.GB3370@paquier.xyz> <DpNG1x01p1DF5NZ01pNJpC> <40496a1d-3b3e-e36e-48fc-9122a1610a52@cox.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox