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

Commit34dffa0

Browse files
committed
Fix non-specific error message.
"something has gone wrong" is not helpful. Make this elog()consistent with the other one in the same function.Discussion:http://postgr.es/m/CA+Tgmoa_AZ2jUWSA_noiqOqnxBaWDR+t3bHjSygZi6+wqDBCXQ@mail.gmail.com
1 parent2c86077 commit34dffa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/postmaster/auxprocess.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ AuxiliaryProcessMain(AuxProcType auxtype)
8181
MyBackendType=B_WAL_RECEIVER;
8282
break;
8383
default:
84-
elog(ERROR,"something has gone wrong");
84+
elog(PANIC,"unrecognized process type: %d", (int)MyAuxProcType);
8585
MyBackendType=B_INVALID;
8686
}
8787

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp