Re: BUG #16285: bt_metap fails with value is out of range for type integer
Peter Geoghegan <pg@bowt.ie>
From: Peter Geoghegan <pg@bowt.ie>
To: Andres Freund <andres@anarazel.de>
Cc: Victor Yegorov <vyegorov@gmail.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2020-03-11T21:16:26Z
Lists: pgsql-bugs
On Mon, Mar 9, 2020 at 5:27 PM Peter Geoghegan <pg@bowt.ie> wrote: > Right. But we only need the gross kludge on 11 and 12 -- there is no > "%u" to change on earlier Postgres versions. That will allow all > Postgres/pageinspect versions to at least manage to consistently > display something within the bt_metap() fields. I pushed commits that make this change to both REL_11_STABLE and REL_12_STABLE. It's a total hack, but better than doing nothing. Somebody just asked about checking the B-Tree version on -general, and I pointed them in the direction of bt_metap(). I think that we'd hear more complaints like Victor's if we left 11 and 12 alone. -- Peter Geoghegan
Commits
-
Paper over bt_metap() oldest_xact bug in backbranches.
- 393b449f1a64 12.3 landed
- c788115b5eb5 11.8 landed
-
pageinspect: Fix types used for bt_metap() columns.
- 691e8b2e1889 13.0 landed
-
Skip full index scan during cleanup of B-tree indexes when possible
- 857f9c36cda5 11.0 cited
-
pg_stat_statements: Widen query IDs from 32 bits to 64 bits.
- cff440d36869 11.0 cited