Skip to content

Commit 34dffa0

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 parent 2c86077 commit 34dffa0

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)