Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69cf5ab

Browse files
committed
Change elog(WARN) to elog(ERROR) and elog(ABORT).
1 parent345641e commit69cf5ab

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎src/backend/utils/error/elog.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.22 1998/01/0503:45:54 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/error/elog.c,v 1.23 1998/01/0504:10:07 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -87,8 +87,11 @@ elog(int lev, const char *fmt,...)
8787
caseNOTICE:
8888
cp="NOTICE: ";
8989
break;
90-
caseWARN:
91-
cp="WARN: ";
90+
caseERROR:
91+
cp="ERROR: ";
92+
break;
93+
caseABORT:
94+
cp="ABORT: ";
9295
break;
9396
default:
9497
sprintf(line,"FATAL %d: ",lev);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp