From 22e71b3afb1c3bc994ba71a8c41784ddec53ceda Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Sat, 9 Dec 2017 13:45:06 +0100 Subject: [PATCH] Fix typo Reported by Robins Tharakan --- src/backend/parser/parse_utilcmd.c | 2 +- src/test/regress/expected/identity.out | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0