Content-Length: 268119 | pFad | http://github.com/postgrespro/postgres_cluster/commit/4789cf42a079e1f3ca39396db96e011527989628

EA Assert for could not map filenode · postgrespro/postgres_cluster@4789cf4 · GitHub
Skip to content

Commit 4789cf4

Browse files
committed
Assert for could not map filenode
1 parent 6e98228 commit 4789cf4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/replication/logical/reorderbuffer.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,11 +1459,12 @@ ReorderBufferCommit(ReorderBuffer *rb, TransactionId xid,
14591459
change->data.tp.newtuple == NULL &&
14601460
change->data.tp.oldtuple == NULL)
14611461
goto change_done;
1462-
else if (reloid == InvalidOid)
1462+
else if (reloid == InvalidOid) {
1463+
Assert(reloid != InvalidOid);
14631464
elog(ERROR, "could not map filenode \"%s\" to relation OID",
14641465
relpathperm(change->data.tp.relnode,
14651466
MAIN_FORKNUM));
1466-
1467+
}
14671468
relation = RelationIdGetRelation(reloid);
14681469

14691470
if (relation == NULL)

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/4789cf42a079e1f3ca39396db96e011527989628

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy