From b700a672feadbb6f122b7c7249967fb0f58dda2b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 4 Jul 2003 16:41:22 +0000 Subject: 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. --- src/backend/tcop/postgres.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/backend/tcop/postgres.c') 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"); } /* -- cgit v1.2.3