From: Magnus Hagander Date: Sat, 9 Dec 2017 12:45:06 +0000 (+0100) Subject: Fix typo X-Git-Tag: REL_10_2~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=22e71b3afb1c3bc994ba71a8c41784ddec53ceda;p=postgresql Fix typo Reported by Robins Tharakan --- diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c index bb78e9637a..e0d96d7cf0 100644 --- a/src/backend/parser/parse_utilcmd.c +++ b/src/backend/parser/parse_utilcmd.c @@ -672,7 +672,7 @@ transformColumnDefinition(CreateStmtContext *cxt, ColumnDef *column) if (cxt->partbound) ereport(ERROR, (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), - errmsg("identify columns are not supported on partitions"))); + errmsg("identity columns are not supported on partitions"))); ctype = typenameType(cxt->pstate, column->typeName, NULL); typeOid = HeapTupleGetOid(ctype); diff --git a/src/test/regress/expected/identity.out b/src/test/regress/expected/identity.out index ddc6950593..87ef0d3b2a 100644 --- a/src/test/regress/expected/identity.out +++ b/src/test/regress/expected/identity.out @@ -356,5 +356,5 @@ CREATE TABLE itest_parent (f1 date NOT NULL, f2 text, f3 bigint) PARTITION BY RA CREATE TABLE itest_child PARTITION OF itest_parent ( f3 WITH OPTIONS GENERATED ALWAYS AS IDENTITY ) FOR VALUES FROM ('2016-07-01') TO ('2016-08-01'); -- error -ERROR: identify columns are not supported on partitions +ERROR: identity columns are not supported on partitions DROP TABLE itest_parent;