Content-Length: 275213 | pFad | http://github.com/postgrespro/postgres/commit/41d3780d3d29acd7e0a7a6922f2757243e9186d0

50 Improve error message for tts_(virtual|minimal)_is_current_xact_tuple · postgrespro/postgres@41d3780 · GitHub
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)








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/commit/41d3780d3d29acd7e0a7a6922f2757243e9186d0

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy