diff options
author | Alexander Korotkov | 2024-03-25 23:55:22 +0000 |
---|---|---|
committer | Alexander Korotkov | 2024-03-25 23:55:22 +0000 |
commit | 41d3780d3d29acd7e0a7a6922f2757243e9186d0 (patch) | |
tree | 206b1459ad3807968e86e93f9322719960e881ea | |
parent | 10baee0c95d15f70c0c2b0e52640651777ce806d (diff) |
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
-rw-r--r-- | src/backend/executor/execTuples.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c index b5477922404..00dc3396156 100644 --- a/src/backend/executor/execTuples.c +++ b/src/backend/executor/execTuples.c @@ -160,7 +160,7 @@ tts_virtual_is_current_xact_tuple(TupleTableSlot *slot) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("don't have a storage tuple in this context"))); + errmsg("don't have transaction information for this type of tuple"))); return false; /* silence compiler warnings */ } @@ -577,7 +577,7 @@ tts_minimal_is_current_xact_tuple(TupleTableSlot *slot) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("don't have a storage tuple in this context"))); + errmsg("don't have transaction information for this type of tuple"))); return false; /* silence compiler warnings */ } |