diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-05 02:01:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-09-05 02:01:41 +0000 |
commit | cefb4b141b0ad68f803d4987f259aa1097307467 (patch) | |
tree | 36229f1791869b191474cb9e5307961abcd6fb1d /src/backend/commands/async.c | |
parent | 346900e83b81cb29f5e948253a56ad3eca84b5e9 (diff) | |
download | postgresql-cefb4b141b0ad68f803d4987f259aa1097307467.tar.gz postgresql-cefb4b141b0ad68f803d4987f259aa1097307467.zip |
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 errfinish, to ensure that output decisions are made correctly;
the former coding could suppress logging of promoted errors, which
doesn't seem like a good idea. Eliminate some redundant code too.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions