aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2019-09-09 13:50:12 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2019-09-09 13:50:12 +0300
commit7e04160390464cd39690d36054e0ac5e4f1bf227 (patch)
treea44f736dbfe1bd4e85f1a85b13acad7fae0171f4 /src/backend/executor/nodeModifyTable.c
parent89b160c32045dd85cc6f9ae6248e34a72931ac67 (diff)
downloadpostgresql-7e04160390464cd39690d36054e0ac5e4f1bf227.tar.gz
postgresql-7e04160390464cd39690d36054e0ac5e4f1bf227.zip
Fix handling of non-key columns get_index_column_opclass()
f2e40380 introduces support of non-key attributes in GiST indexes. Then if get_index_column_opclass() is asked by gistproperty() to get an opclass of non-key column, it returns garbage past oidvector value. This commit fixes that by making get_index_column_opclass() return InvalidOid in this case. Discussion: https://postgr.es/m/20190902231948.GA5343%40alvherre.pgsql Author: Nikita Glukhov, Alexander Korotkov Backpatch-through: 12
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions