pgsql: Report all dependent objects to the server log when a shared

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Report all dependent objects to the server log when a shared
Date: 2007-05-14 16:50:36
Message-ID: 20070514165036.A841A9FB341@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Report all dependent objects to the server log when a shared object is dropped,
and only a truncated log of the objects in the current database to the client.
Also, instead of reporting object counts for all databases on which the user
might own objects, report only as many as fit in the predefined line count.

This is to avoid flooding the client when the user owns too many objects,
which could cause problems.

Per report from Ed L. on April 4th and subsequent discussion.

Modified Files:
--------------
pgsql/src/backend/catalog:
pg_shdepend.c (r1.18 -> r1.19)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_shdepend.c.diff?r1=1.18&r2=1.19)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-05-14 18:13:22 pgsql: Prevent RevalidateCachedPlan from making any permanent change in
Previous Message Bruce Momjian 2007-05-14 16:38:42 pgsql: Update instructions on creating TODO entry.