diff options
Diffstat (limited to 'src/include/utils/elog.h')
-rw-r--r-- | src/include/utils/elog.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/include/utils/elog.h b/src/include/utils/elog.h index eb9ed14f10e..190d44cfff2 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.15 2000/01/26 05:58:37 momjian Exp $ + * $Id: elog.h,v 1.16 2000/04/12 17:16:54 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,22 +17,25 @@ #define NOTICE 0 /* random info - no special action */ #define ERROR (-1) /* user error - return to known state */ #define FATAL 1 /* fatal error - abort process */ -#define REALLYFATAL 2 /* take down the other backends with me */ -#define STOP REALLYFATAL +#define REALLYFATAL 2 /* take down the other backends with me */ +#define STOP REALLYFATAL #define DEBUG (-2) /* debug message */ -#define LOG DEBUG +#define LOG DEBUG #define NOIND (-3) /* debug message, don't indent as far */ #ifndef __GNUC__ -extern void elog(int lev, const char *fmt, ...); +extern void elog(int lev, const char *fmt,...); + #else /* This extension allows gcc to check the format string for consistency with the supplied arguments. */ -extern void elog(int lev, const char *fmt, ...) __attribute__ ((format (printf, 2, 3))); +extern void elog(int lev, const char *fmt,...) __attribute__((format(printf, 2, 3))); + #endif #ifndef PG_STANDALONE extern int DebugFileOpen(void); + #endif #endif /* ELOG_H */ |