Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e77625

Browse files
author
Amit Kapila
committed
Add parent table name in an error in reorderbuffer.c.
This can help in troubleshooting the cause of a particular error that canoccur during decoding.Author: Jeremy SchneiderReviewed-by: Amit KapilaDiscussion:https://postgr.es/m/808ed65b-994c-915a-361c-577f088b837f@amazon.com
1 parentdd94c28 commit5e77625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/replication/logical/reorderbuffer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4633,8 +4633,8 @@ ReorderBufferToastReplace(ReorderBuffer *rb, ReorderBufferTXN *txn,
46334633

46344634
toast_rel=RelationIdGetRelation(relation->rd_rel->reltoastrelid);
46354635
if (!RelationIsValid(toast_rel))
4636-
elog(ERROR,"could not open relation with OID %u",
4637-
relation->rd_rel->reltoastrelid);
4636+
elog(ERROR,"could not opentoastrelation with OID %u (base relation \"%s\")",
4637+
relation->rd_rel->reltoastrelid,RelationGetRelationName(relation));
46384638

46394639
toast_desc=RelationGetDescr(toast_rel);
46404640

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp