Commit 345641e4 authored by Bruce Momjian's avatar Bruce Momjian

Change elog(WARN) to elog(ERROR) and elog(ABORT).

parent 0d9fc5af
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.21 1998/01/05 03:34:36 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.22 1998/01/05 03:45:54 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -82,16 +82,16 @@ elog(int lev, const char *fmt,...) ...@@ -82,16 +82,16 @@ elog(int lev, const char *fmt,...)
i = 0; i = 0;
if (i > 30) if (i > 30)
i = i % 30; i = i % 30;
cp = "DEBUG:"; cp = "DEBUG: ";
break; break;
case NOTICE: case NOTICE:
cp = "NOTICE:"; cp = "NOTICE: ";
break; break;
case WARN: case WARN:
cp = "WARN:"; cp = "WARN: ";
break; break;
default: default:
sprintf(line, "FATAL %d:", lev); sprintf(line, "FATAL %d: ", lev);
cp = line; cp = line;
} }
#ifdef ELOG_TIMESTAMPS #ifdef ELOG_TIMESTAMPS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment