Re: order of reading the conf files

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: order of reading the conf files
Date: 2018-12-06 15:23:11
Message-ID: 20181206152311.GL3415@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Greetings,

* Thomas Kellerer (spam_eater(at)gmx(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-12-06 15:30:18 Re: postgis after pg_upgrade
Previous Message Thomas Kellerer 2018-12-06 15:19:23 Re: order of reading the conf files