Re: something has gone wrong, but what is it?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Andres Freund <andres@anarazel.de>
Date: 2022-08-10T13:53:28Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:

-			elog(ERROR, "something has gone wrong");
+			elog(ERROR, "unrecognized AuxProcType: %d", (int) auxtype);

+1 ... the existing message is clearly not up to project standard.

			regards, tom lane



Commits

  1. Fix non-specific error message.

  2. process startup: Separate out BootstrapModeMain from AuxiliaryProcessMain.