diff options
| author | Peter Eisentraut | 2000-05-31 00:28:42 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-05-31 00:28:42 +0000 |
| commit | 6a68f42648f54690ad5b5ae6fb9104e86e15f0f1 (patch) | |
| tree | 4b6742f51fb2160dbe2ce090273fd430dc2b2499 /src/backend/utils/error/assert.c | |
| parent | 5e4d554bae6a7177903cdb99bf5d41b695519a45 (diff) | |
The heralded `Grand Unified Configuration scheme' (GUC)
That means you can now set your options in either or all of $PGDATA/configuration,
some postmaster option (--enable-fsync=off), or set a SET command. The list of
options is in backend/utils/misc/guc.c, documentation will be written post haste.
pg_options is gone, so is that pq_geqo config file. Also removed were backend -K,
-Q, and -T options (no longer applicable, although -d0 does the same as -Q).
Added to configure an --enable-syslog option.
changed all callers from TPRINTF to elog(DEBUG)
Diffstat (limited to 'src/backend/utils/error/assert.c')
| -rw-r--r-- | src/backend/utils/error/assert.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/utils/error/assert.c b/src/backend/utils/error/assert.c index 3e990bda355..70537f5d22f 100644 --- a/src/backend/utils/error/assert.c +++ b/src/backend/utils/error/assert.c @@ -8,19 +8,19 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.17 2000/01/26 05:57:20 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.18 2000/05/31 00:28:31 petere Exp $ * * NOTE * This should eventually work with elog(), dlog(), etc. * *------------------------------------------------------------------------- */ -#include <unistd.h> - #include "postgres.h" +#include <stdio.h> +#include <unistd.h> + #include "utils/exc.h" -#include "utils/trace.h" int ExceptionalCondition(char *conditionName, @@ -39,7 +39,7 @@ ExceptionalCondition(char *conditionName, || !PointerIsValid(fileName) || !PointerIsValid(exceptionP)) { - EPRINTF("TRAP: ExceptionalCondition: bad arguments\n"); + fprintf(stderr, "TRAP: ExceptionalCondition: bad arguments\n"); ExcAbort(exceptionP, (ExcDetail) detail, @@ -48,7 +48,7 @@ ExceptionalCondition(char *conditionName, } else { - EPRINTF("TRAP: %s(\"%s:%s\", File: \"%s\", Line: %d)\n", + fprintf(stderr, "TRAP: %s(\"%s:%s\", File: \"%s\", Line: %d)\n", exceptionP->message, conditionName, (detail == NULL ? "" : detail), fileName, lineNumber); |
