mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Fix some grammer errors from error messages and codes comments
Discussion: https://postgr.es/m/CAHewXNkGMPU50QG7V6Q60JGFORfo8LfYO1_GCkCa0VWbmB-fEw%40mail.gmail.com Author: Tender Wang
This commit is contained in:
@ -3804,7 +3804,7 @@ transformAlterTableStmt(Oid relid, AlterTableStmt *stmt,
|
||||
if (list_length(partcmd->partlist) < 2)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INVALID_OBJECT_DEFINITION),
|
||||
errmsg("list of new partitions should contains at least two items")));
|
||||
errmsg("list of new partitions should contain at least two items")));
|
||||
|
||||
if (cmd->subtype == AT_SplitPartition)
|
||||
transformPartitionCmdForSplit(&cxt, partcmd);
|
||||
|
Reference in New Issue
Block a user