aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-08-15 11:26:55 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-08-15 11:28:03 -0400
commit4d642b59417d5d4a62d126ca12a80da45d2a3fbf (patch)
tree3becb737a17f5a65a5696cd663887a356524380b /src/backend/access/gist/gistutil.c
parenta973296598f2d1eec48138a2ce4f3e63410d9ed0 (diff)
downloadpostgresql-4d642b59417d5d4a62d126ca12a80da45d2a3fbf.tar.gz
postgresql-4d642b59417d5d4a62d126ca12a80da45d2a3fbf.zip
Disallow extensions from owning the schema they are assigned to.
This situation creates a dependency loop that confuses pg_dump and probably other things. Moreover, since the mental model is that the extension "contains" schemas it owns, but "is contained in" its extschema (even though neither is strictly true), having both true at once is confusing for people too. So prevent the situation from being set up. Reported and patched by Thom Brown. Back-patch to 9.1 where extensions were added.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions