• Tom Lane's avatar
    On further consideration, there's another problem here: the existing · 1a86e6ea
    Tom Lane authored
    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
    appropriate.  I'm surprised we haven't seen this in the field...
    1a86e6ea
elog.h 9.25 KB