diff options
| author | Peter Eisentraut | 2000-06-04 15:06:34 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-06-04 15:06:34 +0000 |
| commit | 0a54de8fafeb32b9524d48e9abf519933c62c690 (patch) | |
| tree | b2994212ed5f85f64e9524f409af0dcf9231370b /src/include | |
| parent | 209aa77d98d8d44b329e942e6f15aec1284db2ca (diff) | |
Removed ELOG_TIMESTAMPS #define in favor of two run-time
configuration options `Log_timestamp' and `Log_pid'.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/config.h.in | 7 | ||||
| -rw-r--r-- | src/include/utils/elog.h | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in index 76390c3c97..4b6e58cf8a 100644 --- a/src/include/config.h.in +++ b/src/include/config.h.in @@ -8,7 +8,7 @@ * or in config.h afterwards. Of course, if you edit config.h, then your * changes will be overwritten the next time you run configure. * - * $Id: config.h.in,v 1.115 2000/06/04 01:44:36 petere Exp $ + * $Id: config.h.in,v 1.116 2000/06/04 15:06:32 petere Exp $ */ #ifndef CONFIG_H @@ -140,11 +140,6 @@ */ #define TBL_FREE_CMD_MEMORY -/* - * ELOG_TIMESTAMPS: adds a timestamp with the following format to elog - * messages: yymmdd.hh:mm:ss.mmm [pid] message - */ -/* #define ELOG_TIMESTAMPS */ #undef ENABLE_SYSLOG diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index 94dc8330b1..5fba756f39 100644 --- a/src/include/utils/elog.h +++ b/src/include/utils/elog.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: elog.h,v 1.17 2000/05/31 00:28:40 petere Exp $ + * $Id: elog.h,v 1.18 2000/06/04 15:06:34 petere Exp $ * *------------------------------------------------------------------------- */ @@ -27,6 +27,9 @@ extern int Use_syslog; #endif +extern bool Log_timestamp; +extern bool Log_pid; + #ifndef __GNUC__ extern void elog(int lev, const char *fmt,...); |
