pgsql: Add a new ereport auxiliary function errdetail_log(), which works

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a new ereport auxiliary function errdetail_log(), which works
Date: 2008-03-24 18:08:47
Message-ID: 20080324180847.F2DAC7558DC@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add a new ereport auxiliary function errdetail_log(), which works the same as
errdetail except the string goes only to the server log, replacing the normal
errdetail there. This provides a reasonably clean way of dealing with error
details that are too security-sensitive or too bulky to send to the client.

This commit just adds the infrastructure --- actual uses to follow.

Modified Files:
--------------
pgsql/doc/src/sgml:
sources.sgml (r2.29 -> r2.30)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/sources.sgml?r1=2.29&r2=2.30)
pgsql/src/backend:
nls.mk (r1.21 -> r1.22)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/nls.mk?r1=1.21&r2=1.22)
pgsql/src/backend/port:
ipc_test.c (r1.23 -> r1.24)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/port/ipc_test.c?r1=1.23&r2=1.24)
pgsql/src/backend/utils/error:
elog.c (r1.202 -> r1.203)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/error/elog.c?r1=1.202&r2=1.203)
pgsql/src/include/utils:
elog.h (r1.91 -> r1.92)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/elog.h?r1=1.91&r2=1.92)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-03-24 18:22:36 pgsql: Adjust the recent patch for reporting of deadlocked queries so
Previous Message Bruce Momjian 2008-03-24 17:48:07 pgsql: Add URL for: * SMP scalability improvements >