aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/sgml/client-auth.sgml9
-rw-r--r--src/backend/libpq/pg_hba.conf.sample5
2 files changed, 8 insertions, 6 deletions
diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml
index 230bceb45fb..bb5a560ad67 100644
--- a/doc/src/sgml/client-auth.sgml
+++ b/doc/src/sgml/client-auth.sgml
@@ -1,4 +1,4 @@
-<!-- $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.13 2001/07/11 21:27:07 momjian Exp $ -->
+<!-- $Header: /cvsroot/pgsql/doc/src/sgml/client-auth.sgml,v 1.14 2001/08/01 00:48:52 momjian Exp $ -->
<chapter id="client-authentication">
<title>Client Authentication</title>
@@ -280,9 +280,10 @@ hostssl <replaceable>database</replaceable> <replaceable>IP-address</replaceable
</para>
<para>
- The <filename>pg_hba.conf</filename> file is re-read during each
- connection attempt. It is therefore trivial to modify access
- permissions while the server is running: just edit the file.
+ The <filename>pg_hba.conf</filename> file is loaded only on startup
+ and when the <application>postmaster</> receives a SIGHUP signal. If
+ you edit the file on an active system, you will need to issue a
+ SIGHUP to the <application>postmaster</> using <application>kill</>.
</para>
<para>
diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample
index da9133a83ec..9c8d8ae74d5 100644
--- a/src/backend/libpq/pg_hba.conf.sample
+++ b/src/backend/libpq/pg_hba.conf.sample
@@ -8,8 +8,9 @@
# o how users are authenticated on each host
# o databases accessible by each host
#
-# It is read by the PostgreSQL postmaster each time a host tries to make a
-# connection to a database.
+# It is read on postmaster startup and when the postmaster receives a SIGHUP.
+# If you edit the file on a running system, you have to SIGHUP the postmaster
+# for the changes to take effect.
#
# Each line is a new record. Records cannot be continued across multiple
# lines. Comments begin with # and continue to the end of the line.