diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/utils/elog.h | 14 | ||||
-rw-r--r-- | src/include/utils/guc.h | 24 |
2 files changed, 25 insertions, 13 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 */ diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index ad511f50a6f..5e63bb512f8 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -4,7 +4,7 @@ * External declarations pertaining to backend/utils/misc/guc.c and * backend/utils/misc/guc-file.l * - * $Id: guc.h,v 1.21 2002/09/01 23:26:06 momjian Exp $ + * $Id: guc.h,v 1.22 2002/09/02 05:42:54 momjian Exp $ */ #ifndef GUC_H #define GUC_H @@ -100,6 +100,13 @@ extern void ProcessGUCArray(ArrayType *array, GucSource source); extern ArrayType *GUCArrayAdd(ArrayType *array, const char *name, const char *value); extern ArrayType *GUCArrayDelete(ArrayType *array, const char *name); +extern const char *assign_min_error_statement(const char *newval, bool doit, + bool interactive); + +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 bool Log_statement; extern bool Log_duration; extern bool Debug_print_plan; @@ -118,4 +125,19 @@ extern bool Explain_pretty_print; extern bool SQL_inheritance; extern bool Australian_timezones; +extern char *debug_query_string; + +extern int log_min_error_statement; +extern char *log_min_error_statement_str; +extern const char log_min_error_statement_str_default[]; + +extern int server_min_messages; +extern char *server_min_messages_str; +extern const char server_min_messages_str_default[]; + +extern int client_min_messages; +extern char *client_min_messages_str; + +extern const char client_min_messages_str_default[]; + #endif /* GUC_H */ |