summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2012-10-24 18:54:12 +0000
committerTom Lane2012-10-24 18:54:12 +0000
commit67efc03a81a4a34d31545c15533dd78927b8bdb5 (patch)
treef6e22455b9979eadf273e1a8e70a469a31ed397c /doc/src
parentf20d91866ec21660998c561a7bc2a08e8a30c1cc (diff)
Prevent parser from believing that views have system columns.
Views should not have any pg_attribute entries for system columns. However, we forgot to remove such entries when converting a table to a view. This could lead to crashes later on, if someone attempted to reference such a column, as reported by Kohei KaiGai. This problem is corrected properly in HEAD (by removing the pg_attribute entries during conversion), but in the back branches we need to defend against existing mis-converted views. This fix costs us an extra syscache lookup per system column reference, which is annoying but probably not really measurable in the big scheme of things.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions