postgresql/src/backend
Alexander Korotkov 7e04160390 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
2019-09-09 13:50:12 +03:00
..
access Fix handling of NULL distances in KNN-GiST 2019-09-08 22:08:12 +03:00
bootstrap Fix inconsistencies and typos in the tree 2019-07-16 13:23:53 +09:00
catalog Remove 'msg' parameter from convert_tuples_by_name 2019-09-03 14:47:29 -04:00
commands Avoid using INFO elevel for what are fundamentally debug messages. 2019-09-07 19:03:11 -04:00
executor Split tuptoaster.c into three separate files. 2019-09-05 13:15:10 -04:00
foreign Update copyright for 2019 2019-01-02 12:44:25 -05:00
jit Don't rely on llvm::make_unique. 2019-08-25 14:45:51 +12:00
lib Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
libpq Use explicit_bzero 2019-09-05 08:30:42 +02:00
main initdb: Remove obsolete locale handling 2019-08-14 06:51:13 +02:00
nodes Remove fmgr.h includes from headers that don't really need it. 2019-08-16 10:35:31 -07:00
optimizer Remove useless bms_free() calls in build_child_join_rel(). 2019-08-16 14:35:55 +09:00
parser Fix issues around strictness of SIMILAR TO. 2019-09-07 14:21:59 -04:00
partitioning Avoid using INFO elevel for what are fundamentally debug messages. 2019-09-07 19:03:11 -04:00
po Translation updates 2019-06-17 15:30:20 +02:00
port Use data directory inode number, not port, to select SysV resource keys. 2019-09-05 13:31:46 -04:00
postmaster Use data directory inode number, not port, to select SysV resource keys. 2019-09-05 13:31:46 -04:00
regex Fix inconsistencies and typos in the tree, take 9 2019-08-05 12:14:58 +09:00
replication Fix RelationIdGetRelation calls that weren't bothering with error checks. 2019-09-08 17:00:50 -04:00
rewrite Rationalize use of list_concat + list_copy combinations. 2019-08-12 11:20:18 -04:00
snowball Sync our Snowball stemmer dictionaries with current upstream 2019-07-04 13:26:48 +02:00
statistics Split tuptoaster.c into three separate files. 2019-09-05 13:15:10 -04:00
storage Use data directory inode number, not port, to select SysV resource keys. 2019-09-05 13:31:46 -04:00
tcop Revert "Add log_statement_sample_rate parameter" 2019-08-04 23:38:27 +02:00
tsearch Fix inconsistencies and typos in the tree, take 11 2019-08-19 16:21:39 +09:00
utils Fix handling of non-key columns get_index_column_opclass() 2019-09-09 13:50:12 +03:00
.gitignore
Makefile Get rid of jsonpath_gram.h and jsonpath_scanner.h 2019-03-20 11:13:34 +03:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
nls.mk Translation updates 2019-05-20 16:00:53 +02:00