aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuild.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-08-15 11:27:00 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-08-15 11:27:00 -0400
commit82634a88d1ba2fdc3308d589b0b8f3bfdbd880f1 (patch)
tree7c5ef6a6c964634d0546439ef522e4c9f35bb410 /src/backend/access/gist/gistbuild.c
parent43ccd309cbf4e9b09ac59130c9b31a1c58a9ff2d (diff)
downloadpostgresql-82634a88d1ba2fdc3308d589b0b8f3bfdbd880f1.tar.gz
postgresql-82634a88d1ba2fdc3308d589b0b8f3bfdbd880f1.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/gistbuild.c')
0 files changed, 0 insertions, 0 deletions