Thread: pgsql/src/backend/utils/error (elog.c)

pgsql/src/backend/utils/error (elog.c)

From
tgl@postgresql.org
Date:
  Date: Friday, December  1, 2000 @ 14:52:04
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/error
     from hub.org:/home/projects/pgsql/tmp/cvs-serv29852

Modified Files:
    elog.c

-----------------------------  Log Message  -----------------------------

Make elog() switch to ErrorContext while invoking libpq output routines,
since those routines may do palloc's.  We want to be fairly sure we can
send the error message to the client even under low-memory conditions.
That's what we stashed away 8K in ErrorContext for, after all ...