diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-05-17 01:19:19 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-05-17 01:19:19 +0000 |
commit | f0811a74b37427d7ee5eee56b00f7f2ea323d7d6 (patch) | |
tree | 51a596c44fd21144383062aa7d2ce852ae270268 /src/include/utils/elog.h | |
parent | fa613fa1eafd8fd80272a31e8477ad9368c95dbb (diff) |
Merge the last few variable.c configuration variables into the generic
GUC support. It's now possible to set datestyle, timezone, and
client_encoding from postgresql.conf and per-database or per-user
settings. Also, implement rollback of SET commands that occur in a
transaction that later fails. Create a SET LOCAL var = value syntax
that sets the variable only for the duration of the current transaction.
All per previous discussions in pghackers.
Diffstat (limited to 'src/include/utils/elog.h')
-rw-r--r-- | src/include/utils/elog.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index 6e0d5808280..cc3ebd9220e 100644 --- a/src/include/utils/elog.h +++ b/src/include/utils/elog.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: elog.h,v 1.36 2002/04/21 00:22:52 ishii Exp $ + * $Id: elog.h,v 1.37 2002/05/17 01:19:19 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -60,9 +60,9 @@ __attribute__((format(printf, 2, 3))); extern int DebugFileOpen(void); -extern bool check_server_min_messages(const char *lev); -extern void assign_server_min_messages(const char *lev); -extern bool check_client_min_messages(const char *lev); -extern void assign_client_min_messages(const char *lev); +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); #endif /* ELOG_H */ |