aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-10-24 14:53:49 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-10-24 14:53:49 -0400
commit1dec7c7c6ccd70318a71d058b7af9da149041b33 (patch)
tree336f1fc931e9504051cf2f585a3553fd8b8ba04f /src/backend/access/gist
parent523ecaf40436588278701ace3c06dc80d2189068 (diff)
downloadpostgresql-1dec7c7c6ccd70318a71d058b7af9da149041b33.tar.gz
postgresql-1dec7c7c6ccd70318a71d058b7af9da149041b33.zip
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 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions