Skip to content

Commit 764bde0

Browse files
committed
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.
1 parent 3103f9a commit 764bde0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libpq/pg_hba.conf.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,6 @@ host all all 127.0.0.1/32 @authmethod@
8484
host all all ::1/128 @authmethod@
8585
# Allow replication connections from localhost, by a user with the
8686
# replication privilege.
87-
#local replication @default_username@ @authmethod@
87+
@remove-line-for-nolocal@#local replication @default_username@ @authmethodlocal@
8888
#host replication @default_username@ 127.0.0.1/32 @authmethod@
8989
#host replication @default_username@ ::1/128 @authmethod@

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy