mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Change elog(WARN) to elog(ERROR) and elog(ABORT).
This commit is contained in:
parent
0d9fc5afd6
commit
345641e498
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* 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,...)
|
||||
i = 0;
|
||||
if (i > 30)
|
||||
i = i % 30;
|
||||
cp = "DEBUG:";
|
||||
cp = "DEBUG: ";
|
||||
break;
|
||||
case NOTICE:
|
||||
cp = "NOTICE:";
|
||||
cp = "NOTICE: ";
|
||||
break;
|
||||
case WARN:
|
||||
cp = "WARN:";
|
||||
cp = "WARN: ";
|
||||
break;
|
||||
default:
|
||||
sprintf(line, "FATAL %d:", lev);
|
||||
sprintf(line, "FATAL %d: ", lev);
|
||||
cp = line;
|
||||
}
|
||||
#ifdef ELOG_TIMESTAMPS
|
||||
|
Loading…
x
Reference in New Issue
Block a user