summaryrefslogtreecommitdiff
path: root/src/backend/access/common/heaptuple.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2023-10-30 14:46:05 -0700
committerNoah Misch <noah@leadboat.com>2023-10-30 14:46:09 -0700
commit123b0d1115113eb8322e1d4899f951733ce548ba (patch)
tree048e89cc34234ac61909c5dbf61f82a16715ffb1 /src/backend/access/common/heaptuple.c
parentf31ccb575ed6563b8490cb600ec083ef4b6634bf (diff)
Diagnose !indisvalid in more SQL functions.
pgstatindex failed with ERRCODE_DATA_CORRUPTED, of the "can't-happen" class XX. The other functions succeeded on an empty index; they might have malfunctioned if the failed index build left torn I/O or other complex state. Report an ERROR in statistics functions pgstatindex, pgstatginindex, pgstathashindex, and pgstattuple. Report DEBUG1 and skip all index I/O in maintenance functions brin_desummarize_range, brin_summarize_new_values, brin_summarize_range, and gin_clean_pending_list. Back-patch to v11 (all supported versions). Discussion: https://postgr.es/m/20231001195309.a3@google.com
Diffstat (limited to 'src/backend/access/common/heaptuple.c')
0 files changed, 0 insertions, 0 deletions