mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 16:21:20 +03:00
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
This commit is contained in:
parent
10baee0c95
commit
41d3780d3d
@ -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 */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user