aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/dbsize.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-07-03 12:26:19 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-07-03 12:26:52 -0400
commit5530a826434a8d4bc6ba7387d05aa14755406199 (patch)
tree4f035da4cc1e90691fc6c69a1cd8953da49827e9 /src/backend/utils/adt/dbsize.c
parent620935ad088d4779ed7fa65f38a876b30e01dee4 (diff)
downloadpostgresql-5530a826434a8d4bc6ba7387d05aa14755406199.tar.gz
postgresql-5530a826434a8d4bc6ba7387d05aa14755406199.zip
Fix handling of auto-updatable views on inherited tables.
An INSERT into such a view should work just like an INSERT into its base table, ie the insertion should go directly into that table ... not be duplicated into each child table, as was happening before, per bug #8275 from Rushabh Lathia. On the other hand, the current behavior for UPDATE/DELETE seems reasonable: the update/delete traverses the child tables, or not, depending on whether the view specifies ONLY or not. Add some regression tests covering this area. Dean Rasheed
Diffstat (limited to 'src/backend/utils/adt/dbsize.c')
0 files changed, 0 insertions, 0 deletions