aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-05-13 22:32:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-05-13 22:32:55 +0000
commita7107136445914dcfaee7fed4cf65314f73cc6b7 (patch)
tree33582852d7c67b7bb7eb957078a67773928e938a /src/backend/access/gist
parent19586031452aff2f44bf2d532058faf9d21d584f (diff)
downloadpostgresql-a7107136445914dcfaee7fed4cf65314f73cc6b7.tar.gz
postgresql-a7107136445914dcfaee7fed4cf65314f73cc6b7.zip
Add checks to DefineQueryRewrite() to prohibit attaching rules to relations
that aren't RELKIND_RELATION or RELKIND_VIEW, and to disallow attaching rules to system relations unless allowSystemTableMods is on. This is to make the behavior of CREATE RULE more like CREATE TRIGGER, which disallows the comparable cases. Per discussion of bug #4808.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions