Thread: pgsql-server: On further consideration, there's another problem here:

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

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
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
appropriate.  I'm surprised we haven't seen this in the field...

Modified Files:
--------------
    pgsql-server/src/backend/utils/error:
        elog.c (r1.149 -> r1.150)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/error/elog.c.diff?r1=1.149&r2=1.150)
    pgsql-server/src/include/utils:
        elog.h (r1.75 -> r1.76)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/include/utils/elog.h.diff?r1=1.75&r2=1.76)