aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-06-14 18:04:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-06-14 18:04:34 +0000
commit0cefb50f3ce964d6097aad64dabd9b544c3d2e68 (patch)
tree4e1ee9454bc958d35194062eee8894205cd08da5 /src/backend/access/gist/gistget.c
parent95ce4ee943f226152ac8c147da178af5d1a95909 (diff)
downloadpostgresql-0cefb50f3ce964d6097aad64dabd9b544c3d2e68.tar.gz
postgresql-0cefb50f3ce964d6097aad64dabd9b544c3d2e68.zip
Refactor the handling of the various DropStmt variants so that when multiple
objects are specified, we drop them all in a single performMultipleDeletions call. This makes the RESTRICT/CASCADE checks more relaxed: it's not counted as a cascade if one of the later objects has a dependency on an earlier one. NOTICE messages about such cases go away, too. In passing, fix the permissions check for DROP CONVERSION, which for some reason was never made role-aware, and omitted the namespace-owner exemption too. Alex Hunsaker, with further fiddling by me.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions