aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-08-01 00:48:52 +0000
committerBruce Momjian <bruce@momjian.us>2001-08-01 00:48:52 +0000
commit8ef0aa170f59093687b083686bde6f16228059a1 (patch)
treef2008b06708c6d1cc2e3f8d8fd08d9d7b6df2b0d
parent77896d1fc92d3cc48622d24a8fc0037186baeefd (diff)
downloadpostgresql-8ef0aa170f59093687b083686bde6f16228059a1.tar.gz
postgresql-8ef0aa170f59093687b083686bde6f16228059a1.zip
Add documentation changes for new pg_hba.conf behavior.
-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.