index_insert_assert.patch

text/plain

Filename: index_insert_assert.patch
Type: text/plain
Part: 0
Message: Re: Broken HOT chains in system catalogs

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/backend/access/index/indexam.c 2 1
*** a/src/backend/access/index/indexam.c
--- b/src/backend/access/index/indexam.c
***************
*** 81,87 ****
  #define RELATION_CHECKS \
  ( \
  	AssertMacro(RelationIsValid(indexRelation)), \
! 	AssertMacro(PointerIsValid(indexRelation->rd_am)) \
  )
  
  #define SCAN_CHECKS \
--- 81,88 ----
  #define RELATION_CHECKS \
  ( \
  	AssertMacro(RelationIsValid(indexRelation)), \
! 	AssertMacro(PointerIsValid(indexRelation->rd_am)), \
! 	AssertMacro(!ReindexIsProcessingIndex(RelationGetRelid(indexRelation))) \
  )
  
  #define SCAN_CHECKS \