aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/tablecmds.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-02-20 17:58:27 -0500
committerPeter Eisentraut <peter_e@gmx.net>2018-02-20 17:58:27 -0500
commitc2ff42c6c1631c6c67d09fc8574186a984566a0d (patch)
treef42ac17c5f167dafd195542a7856d8d4e154e4da /src/backend/commands/tablecmds.c
parent3486bcf9e89d87b59d0e370af098fda38be97209 (diff)
downloadpostgresql-c2ff42c6c1631c6c67d09fc8574186a984566a0d.tar.gz
postgresql-c2ff42c6c1631c6c67d09fc8574186a984566a0d.zip
Error message improvement
Diffstat (limited to 'src/backend/commands/tablecmds.c')
-rw-r--r--src/backend/commands/tablecmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/tablecmds.c b/src/backend/commands/tablecmds.c
index db6c8ff00e9..74e020bffc0 100644
--- a/src/backend/commands/tablecmds.c
+++ b/src/backend/commands/tablecmds.c
@@ -1369,7 +1369,7 @@ ExecuteTruncate(TruncateStmt *stmt)
ereport(ERROR,
(errcode(ERRCODE_WRONG_OBJECT_TYPE),
errmsg("cannot truncate only a partitioned table"),
- errhint("Do not specify the ONLY keyword, or use truncate only on the partitions directly.")));
+ errhint("Do not specify the ONLY keyword, or use TRUNCATE ONLY on the partitions directly.")));
}
/*