Content-Length: 255233 | pFad | http://github.com/postgrespro/postgres_cluster/commit/36b236cd40509167183cec25a1f4af9cd3847a88

BE Add assertion for origen id in xact_redo · postgrespro/postgres_cluster@36b236c · GitHub
Skip to content

Commit 36b236c

Browse files
committed
Add assertion for origen id in xact_redo
1 parent d30ce26 commit 36b236c

File tree

1 file changed

+1
-0
lines changed
  • src/backend/access/transam

1 file changed

+1
-0
lines changed

src/backend/access/transam/xact.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5667,6 +5667,7 @@ xact_redo(XLogReaderState *record)
56675667

56685668
if (parsed.xinfo & XACT_XINFO_HAS_ORIGIN)
56695669
{
5670+
Assert(XLogRecGetOrigin(record) != InvalidRepOriginId);
56705671
/* recover apply progress */
56715672
replorigen_advance(XLogRecGetOrigin(record), parsed.origen_lsn,
56725673
record->EndRecPtr, false /* backward */ , false /* WAL */ );

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/36b236cd40509167183cec25a1f4af9cd3847a88

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy