diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-09-27 20:27:32 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-09-27 20:27:32 +0000 |
commit | d62a7ac6d39702f6df4d119d0d2e3ba7b382e203 (patch) | |
tree | 32c6f5d88e826a992dae8aeaabdee4bd54429d4b /src/backend/utils/misc/trace.c | |
parent | 5a017b96ad4a5b02907c6cea651d711f8fca615a (diff) |
Massimo's SET FSYNC and SHOW PG_OPTIONS changes, without SET QUERY_LIMIT.
Diffstat (limited to 'src/backend/utils/misc/trace.c')
-rw-r--r-- | src/backend/utils/misc/trace.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/backend/utils/misc/trace.c b/src/backend/utils/misc/trace.c index 3d9cbe607de..2a1fe5ab8d6 100644 --- a/src/backend/utils/misc/trace.c +++ b/src/backend/utils/misc/trace.c @@ -73,6 +73,7 @@ static char *opt_names[] = { "lock_debug_relid", "lock_read_priority", /* lock priority, see lock.c */ "deadlock_timeout", /* deadlock timeout, see proc.c */ + "nofsync", /* turn fsync off */ "syslog", /* use syslog for error messages */ "hostlookup", /* enable hostname lookup in ps_status */ "showportnumber", /* show port number in ps_status */ @@ -405,6 +406,16 @@ read_pg_options(SIGNAL_ARGS) close(fd); } +void +show_options(void) +{ + int i; + + for (i=0; i<NUM_PG_OPTIONS; i++) { + elog(NOTICE, "%s=%d", opt_names[i], pg_options[i]); + } +} + /* * Local variables: * tab-width: 4 |