Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 41d3780

Browse files
committed
Improve error message for tts_(virtual|minimal)_is_current_xact_tuple
Discussion: https://postgr.es/m/CALT9ZEHNeagO5PLb4Nv9J_ZaCtp%2BArdVmbSLc0RHUzx_RPAa4w%40mail.gmail.com Author: Pavel Borisov
1 parent 10baee0 commit 41d3780

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/executor/execTuples.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ tts_virtual_is_current_xact_tuple(TupleTableSlot *slot)
160160

161161
ereport(ERROR,
162162
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
163-
errmsg("don't have a storage tuple in this context")));
163+
errmsg("don't have transaction information for this type of tuple")));
164164

165165
return false; /* silence compiler warnings */
166166
}
@@ -577,7 +577,7 @@ tts_minimal_is_current_xact_tuple(TupleTableSlot *slot)
577577

578578
ereport(ERROR,
579579
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
580-
errmsg("don't have a storage tuple in this context")));
580+
errmsg("don't have transaction information for this type of tuple")));
581581

582582
return false; /* silence compiler warnings */
583583
}

0 commit comments

Comments
 (0)