diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-04 16:41:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-07-04 16:41:22 +0000 |
commit | b700a672feadbb6f122b7c7249967fb0f58dda2b (patch) | |
tree | 85013f1378d8edaa12cf35b039c4aa768bc9b4a9 /src/backend/tcop/postgres.c | |
parent | efbbd107c7b08b7a1351c0199ee4602182e09f05 (diff) | |
download | postgresql-b700a672feadbb6f122b7c7249967fb0f58dda2b.tar.gz postgresql-b700a672feadbb6f122b7c7249967fb0f58dda2b.zip |
Add --help-config facility to dump information about GUC parameters
without needing a running backend. Reorder postgresql.conf.sample
to match new layout of runtime.sgml. This commit re-adds work lost
in Wednesday's crash.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 3ac145860b4..c3480d803cf 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.348 2003/06/20 21:58:02 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.349 2003/07/04 16:41:21 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1910,6 +1910,7 @@ usage(char *progname) printf(" -P disable system indexes\n"); printf(" -s show statistics after each query\n"); printf(" -S SORT-MEM set amount of memory for sorts (in kbytes)\n"); + printf(" --help-config show configuration options, then exit. Details: --help-config -h\n"); printf(" --help show this help, then exit\n"); printf(" --version output version information, then exit\n"); printf("\nDeveloper options:\n"); @@ -2547,7 +2548,7 @@ PostgresMain(int argc, char *argv[], const char *username) if (!IsUnderPostmaster) { puts("\nPOSTGRES backend interactive interface "); - puts("$Revision: 1.348 $ $Date: 2003/06/20 21:58:02 $\n"); + puts("$Revision: 1.349 $ $Date: 2003/07/04 16:41:21 $\n"); } /* |