diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-09-02 05:42:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-09-02 05:42:54 +0000 |
commit | 9fd842c4b20d55746d34a96bc6baec7d2242c2cf (patch) | |
tree | 048b493d65b0b5a531ffab5c0d88bff04b67a072 /src/include/utils/elog.h | |
parent | 6a8babc206976fdce1ccd8a63b85c1a01dfe148d (diff) | |
download | postgresql-9fd842c4b20d55746d34a96bc6baec7d2242c2cf.tar.gz postgresql-9fd842c4b20d55746d34a96bc6baec7d2242c2cf.zip |
Add GUC variable to print original query to the server logs when there
is an error, warning, etc.
Gavin Sherry
Diffstat (limited to 'src/include/utils/elog.h')
-rw-r--r-- | src/include/utils/elog.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index 8b0414dc3fa..ba78aa3629f 100644 --- a/src/include/utils/elog.h +++ b/src/include/utils/elog.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: elog.h,v 1.38 2002/06/20 20:29:52 momjian Exp $ + * $Id: elog.h,v 1.39 2002/09/02 05:42:54 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -47,22 +47,12 @@ extern int Use_syslog; extern bool Log_timestamp; extern bool Log_pid; -extern char *server_min_messages_str; -extern char *client_min_messages_str; -extern const char server_min_messages_str_default[]; -extern const char client_min_messages_str_default[]; - extern void elog(int lev, const char *fmt,...) /* This extension allows gcc to check the format string for consistency with the supplied arguments. */ __attribute__((format(printf, 2, 3))); -extern int DebugFileOpen(void); - -extern const char *assign_server_min_messages(const char *newval, - bool doit, bool interactive); -extern const char *assign_client_min_messages(const char *newval, - bool doit, bool interactive); +extern int DebugFileOpen(void); #endif /* ELOG_H */ |