diff options
| author | Peter Eisentraut | 2012-02-01 19:18:55 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2012-02-01 19:18:55 +0000 |
| commit | 8a02339e9ba3f2f962c5967be8c5d053a1fa39d2 (patch) | |
| tree | 843ea3feedb0de9fb405bea4746cfb2cd2370417 /src/backend/libpq | |
| parent | 69f4f1c3576abc535871c6cfa95539e32a36120f (diff) | |
initdb: Add options --auth-local and --auth-host
reviewed by Robert Haas and Pavel Stehule
Diffstat (limited to 'src/backend/libpq')
| -rw-r--r-- | src/backend/libpq/pg_hba.conf.sample | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample index 0a50905eff6..a12ba26ad57 100644 --- a/src/backend/libpq/pg_hba.conf.sample +++ b/src/backend/libpq/pg_hba.conf.sample @@ -79,11 +79,11 @@ @remove-line-for-nolocal@# "local" is for Unix domain socket connections only @remove-line-for-nolocal@local all all @authmethodlocal@ # IPv4 local connections: -host all all 127.0.0.1/32 @authmethod@ +host all all 127.0.0.1/32 @authmethodhost@ # IPv6 local connections: -host all all ::1/128 @authmethod@ +host all all ::1/128 @authmethodhost@ # Allow replication connections from localhost, by a user with the # replication privilege. @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@ +#host replication @default_username@ 127.0.0.1/32 @authmethodhost@ +#host replication @default_username@ ::1/128 @authmethodhost@ |
