pgsql-server: Avoid crashing when restoring a saved GUC

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server: Avoid crashing when restoring a saved GUC
Date: 2004-08-11 21:10:38
Message-ID: 20040811211038.A70F114B2800@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Avoid crashing when restoring a saved GUC session_authorization value
that refers to a now-deleted userid. Per gripe from Chris Ochs.

Modified Files:
--------------
pgsql-server/src/backend/commands:
variable.c (r1.98 -> r1.99)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/variable.c.diff?r1=1.98&r2=1.99)
pgsql-server/src/backend/utils/misc:
guc.c (r1.230 -> r1.231)
(http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/utils/misc/guc.c.diff?r1=1.230&r2=1.231)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2004-08-11 21:10:54 pgsql-server: Avoid crashing when restoring a saved GUC
Previous Message Tom Lane 2004-08-11 18:06:02 pgsql-server: Add PQserverVersion() to libpq to provide more-convenient