postgresql/src/test/regress
Tom Lane 903737c5bf Avoid trying to fetch metapage of an SPGist partitioned index.
This is necessary when spgcanreturn() is invoked on a partitioned
index, and the failure might be reachable in other scenarios as
well.  The rest of what spgGetCache() does is perfectly sensible
for a partitioned index, so we should allow it to go through.

I think the main takeaway from this is that we lack sufficient test
coverage for non-btree partitioned indexes.  Therefore, I added
simple test cases for brin and gin as well as spgist (hash and
gist AMs were covered already in indexing.sql).

Per bug #18256 from Alexander Lakhin.  Although the known test case
only fails since v16 (3c569049b), I've got no faith at all that there
aren't other ways to reach this problem; so back-patch to all
supported branches.

Discussion: https://postgr.es/m/18256-0b0e1b6e4a620f1b@postgresql.org
2023-12-21 12:43:36 -05:00
..
data Fix full text search to handle NOT above a phrase search correctly. 2020-04-27 12:21:04 -04:00
expected Avoid trying to fetch metapage of an SPGist partitioned index. 2023-12-21 12:43:36 -05:00
sql Avoid trying to fetch metapage of an SPGist partitioned index. 2023-12-21 12:43:36 -05:00
.gitignore Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
GNUmakefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile
README
meson.build Speed up pg_regress server readiness testing. 2023-10-24 21:37:35 +02:00
parallel_schedule Split event_trigger_login test from event_trigger test 2023-10-27 23:50:07 +03:00
pg_regress.c Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
pg_regress.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_regress_main.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
regress.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
regressplans.sh Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
resultmap Remove HP-UX port. 2022-07-08 14:05:05 +12:00

README

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".