Re: BUG #18246: pgstathashindex() attempts to read invalid file for hash index attached to partitioned table
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2023-12-13T14:18:14Z
Lists: pgsql-bugs
On Wed, Dec 13, 2023 at 09:00:01AM +0000, PG Bug reporting form wrote: > This anomaly can be observed since 8b08f7d48 from 2018-01-19, but IMO the > culprit is e759854a0 from 2017-02-03, which introduced the following > asymmetry in pgstatindex.c: > if (!IS_INDEX(rel) || !IS_BTREE(rel)) > if (!IS_INDEX(rel) || !IS_GIN(rel)) > But: > if (!IS_HASH(rel)) Fun, let's fix that. Would you like to write a patch? -- Michael
Commits
-
pageinspect: Fix failure with hash_bitmap_info() for partitioned indexes
- f610d4f119b5 12.18 landed
- 586c6a091f85 13.14 landed
- bfbe4a146e37 14.11 landed
- 2e08440d61ea 15.6 landed
- 7f68b14629c1 16.2 landed
- 208470136421 17.0 landed
-
pgstattuple: Fix failure with pgstathashindex() for partitioned indexes
- bd2d3c92812f 12.18 landed
- b4c1d255c17c 13.14 landed
- f729fdab450f 14.11 landed
- b745f168042e 15.6 landed
- b4948ed66695 16.2 landed
- a8dd62ef4959 17.0 landed
-
Don't try to open visibilitymap when analyzing a foreign table
- 049ef3398d05 17.0 cited