pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: order of reading the conf files
Date: Thu, 6 Dec 2018 10:23:11 -0500
Message-ID: <20181206152311.GL3415@tamriel.snowman.net> (raw)
In-Reply-To: <142e71e8-7bad-3c63-b6b3-dff610778d23@gmx.net>
References: <CAE=Y5eANXg0p_KOZYxxBJ19+Jwg5UiMRFXPUuB3mjzunzQSaoQ@mail.gmail.com>
	<CANaGW0_9_vfykA+TXRpv5q-PCmQs1OvozmN1wLbksmcUeiFcRA@mail.gmail.com>
	<20181206145230.GJ3415@tamriel.snowman.net>
	<142e71e8-7bad-3c63-b6b3-dff610778d23@gmx.net>

Greetings,

* Thomas Kellerer (spam_eater@gmx.net) wrote:
> Stephen Frost schrieb am 06.12.2018 um 15:52:
> > The regular postgresql.conf file is read first, then
> > postgresql.auto.conf and then pg_hba.conf and pg_ident.conf.  We can't
> > read pg_hba.conf/pg_ident.conf before reading postgresql.conf and
> > postgresql.auto.conf because their location is specified in
> > postgresql.conf/postgresql.auto.conf.
> 
> When are the .conf files read that are included from within "postgresql.conf"? 
> The manual is not clear about that.

At the time we hit the 'include' line.

> Are they processed before "postgresql.auto.conf" or after? 

postgresql.auto.conf is always last.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (6+ messages)  latest in thread

Message-ID: <20181206152311.GL3415@tamriel.snowman.net>
Permalink:  ../20181206152311.GL3415@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20181206152311.GL3415@tamriel.snowman.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: sfrost@snowman.net, spam_eater@gmx.net
  Subject: Re: order of reading the conf files
  In-Reply-To: <20181206152311.GL3415@tamriel.snowman.net>
  References: <CAE=Y5eANXg0p_KOZYxxBJ19+Jwg5UiMRFXPUuB3mjzunzQSaoQ@mail.gmail.com> <CANaGW0_9_vfykA+TXRpv5q-PCmQs1OvozmN1wLbksmcUeiFcRA@mail.gmail.com> <20181206145230.GJ3415@tamriel.snowman.net> <142e71e8-7bad-3c63-b6b3-dff610778d23@gmx.net> <20181206152311.GL3415@tamriel.snowman.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