pgstatindex, pageinspect: handle partitioned indexes Commit 8b08f7d4820f failed to update these modules to at least give non-broken error messages for partitioned indexes. Add appropriate error support to them.
Peter G. was complaining about a problem of unfriendly error messages; while we haven't fixed that yet, subsequent discussion let to discovery of these unhandled cases. Author: Michaƫl Paquier Reported-by: Peter Geoghegan Discussion: https://postgr.es/m/cah2-wzkokptqie51bh4_xeehhabwhkzkgtkizrfmgekfuur...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/bef5fcc36be3d08ec123889a0c82f5e07a63ff88 Modified Files -------------- contrib/pageinspect/expected/page.out | 6 +++++- contrib/pageinspect/rawpage.c | 5 +++++ contrib/pageinspect/sql/page.sql | 5 ++++- contrib/pgstattuple/expected/pgstattuple.out | 3 +++ contrib/pgstattuple/pgstatindex.c | 1 - contrib/pgstattuple/pgstattuple.c | 3 +++ contrib/pgstattuple/sql/pgstattuple.sql | 2 ++ 7 files changed, 22 insertions(+), 3 deletions(-)