1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-21 16:02:15 +03:00

Improve some messages

This commit is contained in:
Peter Eisentraut
2015-12-10 22:05:27 -05:00
parent 8b469bd7c4
commit a351705d8a
9 changed files with 12 additions and 12 deletions

View File

@ -144,7 +144,7 @@ ExecCustomMarkPos(CustomScanState *node)
if (!node->methods->MarkPosCustomScan)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("custom-scan \"%s\" does not support MarkPos",
errmsg("custom scan \"%s\" does not support MarkPos",
node->methods->CustomName)));
node->methods->MarkPosCustomScan(node);
}
@ -155,7 +155,7 @@ ExecCustomRestrPos(CustomScanState *node)
if (!node->methods->RestrPosCustomScan)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
errmsg("custom-scan \"%s\" does not support MarkPos",
errmsg("custom scan \"%s\" does not support MarkPos",
node->methods->CustomName)));
node->methods->RestrPosCustomScan(node);
}