8000 Restore setting hint bits · postgrespro/postgres_cluster@b958316 · GitHub
[go: up one dir, main page]

Skip to content

Commit b958316

Browse files
committed
Restore setting hint bits
1 parent 6104725 commit b958316

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

contrib/mmts/pglogical_proto.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ pglogical_write_commit(StringInfo out, PGLogicalOutputData *data,
187187
Assert(false);
188188

189189
if (flags == PGLOGICAL_COMMIT || flags == PGLOGICAL_PREPARE) {
190+
Assert(txn->xid < 1000 || MtmTransactionRecords >= 2);
190191
// if (MtmIsFilteredTxn) {
191192
// Assert(MtmTransactionRecords == 0);
192193
// return;

src/backend/utils/time/tqual.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ SetHintBits(HeapTupleHeader tuple, Buffer buffer,
131131
}
132132
}
133133

134-
// tuple->t_infomask |= infomask;
135-
// MarkBufferDirtyHint(buffer, true);
134+
tuple->t_infomask |= infomask;
135+
MarkBufferDirtyHint(buffer, true);
136136
}
137137

138138
/*

0 commit comments

Comments
 (0)
0