aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2011-03-14 19:46:52 +0100
committerMagnus Hagander <magnus@hagander.net>2011-03-14 19:51:09 +0100
commit01c1a12a5bb4d4f837a542c187ebb2719f9334e8 (patch)
tree47e4970ca853535acb03d8cf7b3a9765c5889d9a
parentf12423d75a1181d75bd646869b140ba0c199fa99 (diff)
downloadpostgresql-01c1a12a5bb4d4f837a542c187ebb2719f9334e8.tar.gz
postgresql-01c1a12a5bb4d4f837a542c187ebb2719f9334e8.zip
Remove special case allowing parameters to ident auth for initdb
This was required in pre-8.4 versions to allow the specification of "ident sameuser", but sameuser is no longer required. It could be extended to allow all parameters in the future, but should then apply to all methods and not just ident.
-rw-r--r--src/bin/initdb/initdb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index acd251415de..f6cf3772822 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -2635,7 +2635,6 @@ main(int argc, char *argv[])
if (strcmp(authmethod, "md5") &&
strcmp(authmethod, "ident") &&
- strncmp(authmethod, "ident ", 6) && /* ident with space = param */
strcmp(authmethod, "trust") &&
#ifdef USE_PAM
strcmp(authmethod, "pam") &&