pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ian Barwick <ian.barwick@2ndquadrant.com>
To: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: doc: mention pg_reload_conf() in pg_hba.conf documentation
Date: Mon, 15 Jul 2019 12:47:18 +0900
Message-ID: <538950ec-b86a-1650-6078-beb7091c09c2@2ndquadrant.com> (raw)

Hi

I noticed the documentation for pg_hba.conf:

   https://www.postgresql.org/docs/current/auth-pg-hba-conf.html

says:

     you will need to signal the postmaster (using pg_ctl reload or kill -HUP) to
     make it re-read the file.

It would be useful to mention pg_reload_conf() as another option here, as done
elsewhere in the docs.

Patch with suggested change attached.


Regards

Ian Barwick


-- 
  Ian Barwick                   https://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services

Attachments:

doc-pg_hba-pg_reload_conf.v1.patch (text/x-patch, 997B) download diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml new file mode 100644 index 3ed74d8..c90ca0b *** a/doc/src/sgml/client-auth.sgml --- b/doc/src/sgml/client-auth.sgml *************** hostnogssenc <replaceable>database</repl *** 650,657 **** <systemitem>SIGHUP</systemitem><indexterm><primary>SIGHUP</primary></indexterm> signal. If you edit the file on an active system, you will need to signal the postmaster ! (using <literal>pg_ctl reload</literal> or <literal>kill -HUP</literal>) to make it ! re-read the file. </para> <note> --- 650,658 ---- <systemitem>SIGHUP</systemitem><indexterm><primary>SIGHUP</primary></indexterm> signal. If you edit the file on an active system, you will need to signal the postmaster ! (using <literal>pg_ctl reload</literal>, <literal>kill -HUP</literal> ! or by calling the SQL function <function>pg_reload_conf()</function>) ! to make it re-read the file. </para> <note>

view thread (3+ messages)  latest in thread

Message-ID: <538950ec-b86a-1650-6078-beb7091c09c2@2ndquadrant.com>
Permalink:  ../538950ec-b86a-1650-6078-beb7091c09c2@2ndquadrant.com/
Also on:    postgresql.org/message-id/538950ec-b86a-1650-6078-beb7091c09c2@2ndquadrant.com

 ·  · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: ian.barwick@2ndquadrant.com
  Subject: Re: doc: mention pg_reload_conf() in pg_hba.conf documentation
  In-Reply-To: <538950ec-b86a-1650-6078-beb7091c09c2@2ndquadrant.com>

* 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