ssi-mvcc-snapshot.patch

text/plain

Filename: ssi-mvcc-snapshot.patch
Type: text/plain
Part: 0
Message: Re: reindex creates predicate lock on index root

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/storage/lmgr/predicate.c 1 0
*** a/src/backend/storage/lmgr/predicate.c
--- b/src/backend/storage/lmgr/predicate.c
***************
*** 274,279 ****
--- 274,280 ----
  #define SkipSerialization(relation) \
  	((!IsolationIsSerializable()) \
  	|| ((MySerializableXact == InvalidSerializableXact)) \
+ 	|| (!IsMVCCSnapshot(GetActiveSnapshot())) \
  	|| ReleasePredicateLocksIfROSafe() \
  	|| SkipPredicateLocksForRelation(relation))