aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-08-21 15:18:36 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-08-21 15:18:36 -0400
commit0f524ea0cf388a149f362e48a33c01662eeddc04 (patch)
tree306092fe85e6cffbc515b26c688654487a531c46 /doc/src
parent4b373e42d1efd24f871193ce8178c41f199c5df3 (diff)
downloadpostgresql-0f524ea0cf388a149f362e48a33c01662eeddc04.tar.gz
postgresql-0f524ea0cf388a149f362e48a33c01662eeddc04.zip
Fix dumping of security_barrier views with circular dependencies.
If a view has circular dependencies, pg_dump splits it into a CREATE TABLE and a CREATE RULE command to break the dependency loop. However, if the view has reloptions, those options cannot be applied in the CREATE TABLE command, because views and tables have different allowed reloptions so CREATE TABLE would reject them. Instead apply the reloptions after the CREATE RULE, using ALTER VIEW SET.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions