mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Error message improvement
This commit is contained in:
@ -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.")));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user