diff options
author | Heikki Linnakangas | 2009-06-18 10:08:08 +0000 |
---|---|---|
committer | Heikki Linnakangas | 2009-06-18 10:08:08 +0000 |
commit | 55f1ac2abb8fd4e51a81a064a629525494ba0d2c (patch) | |
tree | e45b342c55676aaa5e3b1d42627008d1659c524f /src/backend/tcop/postgres.c | |
parent | 46f95306013011c4195fc222224dc3aa724c64d9 (diff) |
Fix a few errors in comments. Patch by Fujii Masao, plus the one in
visibilitymap.c by me.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 790eee8521..edd6ffe99b 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -2924,8 +2924,8 @@ PostgresMain(int argc, char *argv[], const char *username) * If the databasename is omitted it is taken to be the user name. * * When started from the postmaster, the format is - * postgres [secure switches] -p databasename [insecure switches] - * Switches appearing after -p came from the client (via "options" + * postgres [secure switches] -y databasename [insecure switches] + * Switches appearing after -y came from the client (via "options" * field of connection request). For security reasons we restrict * what these switches can do. * ---------------- @@ -2938,7 +2938,7 @@ PostgresMain(int argc, char *argv[], const char *username) argc--; } - /* all options are allowed until '-p' */ + /* all options are allowed until '-y' */ secure = true; ctx = PGC_POSTMASTER; gucsource = PGC_S_ARGV; /* initial switches came from command line */ |