summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeCustom.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2015-12-10 22:05:27 -0500
committerPeter Eisentraut <peter_e@gmx.net>2015-12-10 22:05:27 -0500
commita351705d8a7fbbc98c2449786d2ddfa845f21b6a (patch)
tree33066a7b56e203adc9bd062cc1c340db893fa177 /src/backend/executor/nodeCustom.c
parent8b469bd7c4dc3649c74b746545210b435df319cb (diff)
Improve some messages
Diffstat (limited to 'src/backend/executor/nodeCustom.c')
-rw-r--r--src/backend/executor/nodeCustom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/nodeCustom.c b/src/backend/executor/nodeCustom.c
index 0a022dff940..ac7bee02378 100644
--- a/src/backend/executor/nodeCustom.c
+++ b/src/backend/executor/nodeCustom.c
@@ -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);
}