[COMMITTERS] pgsql-server: Tweak elog.c's logic for promoting errors into more severe

2004-09-04 Thread Tom Lane
Log Message: --- Tweak elog.c's logic for promoting errors into more severe errors. Messages of less than ERROR severity should never be promoted (this fixes Gaetano Mendola's problem with a COMMERROR becoming a PANIC, and is obvious in hindsight anyway). Do all promotion in errstart not e

[COMMITTERS] pgsql-server: On further consideration, there's another problem here:

2004-09-04 Thread Tom Lane
Log Message: --- On further consideration, there's another problem here: the existing elog() emulation code always calls errstart with ERROR error level. This means that a recursive error call triggered by elog would do MemoryContextReset(ErrorContext), whether or not this was actually appr