Skip to content

Commit 8ef0aa1

Browse files
committed
Add documentation changes for new pg_hba.conf behavior.
1 parent 77896d1 commit 8ef0aa1

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

doc/src/sgml/client-auth.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.13 2001/07/11 21:27:07 momjian Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.14 2001/08/01 00:48:52 momjian Exp $ -->
22

33
<chapter id="client-authentication">
44
<title>Client Authentication</title>
@@ -280,9 +280,10 @@ hostssl <replaceable>database</replaceable> <replaceable>IP-address</replaceable
280280
</para>
281281

282282
<para>
283-
The <filename>pg_hba.conf</filename> file is re-read during each
284-
connection attempt. It is therefore trivial to modify access
285-
permissions while the server is running: just edit the file.
283+
The <filename>pg_hba.conf</filename> file is loaded only on startup
284+
and when the <application>postmaster</> receives a SIGHUP signal. If
285+
you edit the file on an active system, you will need to issue a
286+
SIGHUP to the <application>postmaster</> using <application>kill</>.
286287
</para>
287288

288289
<para>

src/backend/libpq/pg_hba.conf.sample

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
# o how users are authenticated on each host
99
# o databases accessible by each host
1010
#
11-
# It is read by the PostgreSQL postmaster each time a host tries to make a
12-
# connection to a database.
11+
# It is read on postmaster startup and when the postmaster receives a SIGHUP.
12+
# If you edit the file on a running system, you have to SIGHUP the postmaster
13+
# for the changes to take effect.
1314
#
1415
# Each line is a new record. Records cannot be continued across multiple
1516
# lines. Comments begin with # and continue to the end of the line.

0 commit comments

Comments
 (0)