diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-06-18 10:08:08 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2009-06-18 10:08:08 +0000 |
commit | efa8544fd55e408dc5a8a5a2b7722dc376d7d843 (patch) | |
tree | 4586f4a88439ee88def53bdbcc17db70c348a92a /src/backend/tcop/postgres.c | |
parent | f08e5e92e8d494d8d90c1b0f6584b576c01da75f (diff) | |
download | postgresql-efa8544fd55e408dc5a8a5a2b7722dc376d7d843.tar.gz postgresql-efa8544fd55e408dc5a8a5a2b7722dc376d7d843.zip |
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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 2ed386a2226..43e912f5cff 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.567 2009/06/11 14:49:02 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.568 2009/06/18 10:08:08 heikki Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -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 */ |