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

Commit28c4dd1

Browse files
committed
Add comment describing ereport() NOTICE/WARNING distinction.
1 parent33fe94b commit28c4dd1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎src/include/utils/elog.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/utils/elog.h,v 1.69 2004/06/24 21:03:42 tgl Exp $
10+
* $PostgreSQL: pgsql/src/include/utils/elog.h,v 1.70 2004/07/06 19:51:59 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -32,7 +32,10 @@
3232
#defineNOTICE18/* Helpful messages to users about query
3333
* operation; sent to client and server
3434
* log by default. */
35-
#defineWARNING19/* Warnings */
35+
#defineWARNING19/* Warnings. NOTICE is for expected messages
36+
* like implicit sequence creation by SERIAL.
37+
* WARNING is for unexpected messages.
38+
*/
3639
#defineERROR20/* user error - abort transaction; return
3740
* to known state */
3841
/* Save ERROR value in PGERROR so it can be restored when Win32 includes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp