diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2019-09-09 13:50:12 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2019-09-09 14:02:40 +0300 |
commit | c6ce5f71b08235f9ed8e0206267ae560ea1ebc91 (patch) | |
tree | bd60a66155b21e20d11892415df23726f5d60aaf /src/backend/executor/nodeModifyTable.c | |
parent | 55a808c1a899380bff3340ed8d896d06f0b19f9b (diff) | |
download | postgresql-c6ce5f71b08235f9ed8e0206267ae560ea1ebc91.tar.gz postgresql-c6ce5f71b08235f9ed8e0206267ae560ea1ebc91.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