]> granicus.if.org Git - postgresql/commit
Report all dependent objects to the server log when a shared object is dropped,
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 14 May 2007 16:50:36 +0000 (16:50 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 14 May 2007 16:50:36 +0000 (16:50 +0000)
commit689dea424dd7f335fd1a5b37ba6a6d68b2da43e6
tree0ff1ac1bb6af8e318fbf1f89973fd2f124005229
parented9a31b89bcb4fbf183525188307e5a00574c1b0
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.
src/backend/catalog/pg_shdepend.c