diff options
author | Magnus Hagander <magnus@hagander.net> | 2011-05-30 20:09:51 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2011-05-30 20:21:06 +0200 |
commit | 764bde0f1641cc3aafa2c221c56bd3a8129d9e3b (patch) | |
tree | a64544cacd92f2348ba8ecf76304e7f736c082e5 /src | |
parent | 3103f9a77d005f9d8b8ef492298bbbbf6c4b843f (diff) | |
download | postgresql-764bde0f1641cc3aafa2c221c56bd3a8129d9e3b.tar.gz postgresql-764bde0f1641cc3aafa2c221c56bd3a8129d9e3b.zip |
Don't include local line on platforms without support
Since we now include a sample line for replication on local
connections in pg_hba.conf, don't include it where local
connections aren't available (such as on win32).
Also make sure we use authmethodlocal and not authmethod on
the sample line.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/libpq/pg_hba.conf.sample | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample index f913b9aabbf..0a50905eff6 100644 --- a/src/backend/libpq/pg_hba.conf.sample +++ b/src/backend/libpq/pg_hba.conf.sample @@ -84,6 +84,6 @@ host all all 127.0.0.1/32 @authmethod@ host all all ::1/128 @authmethod@ # Allow replication connections from localhost, by a user with the # replication privilege. -#local replication @default_username@ @authmethod@ +@remove-line-for-nolocal@#local replication @default_username@ @authmethodlocal@ #host replication @default_username@ 127.0.0.1/32 @authmethod@ #host replication @default_username@ ::1/128 @authmethod@ |