aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2017-12-09 13:45:06 +0100
committerMagnus Hagander <magnus@hagander.net>2017-12-09 14:48:08 +0100
commit22e71b3afb1c3bc994ba71a8c41784ddec53ceda (patch)
treeaebcfa63b87732b3dadc621d40a6b40615dae2c8 /src
parente2cc65050b0bad0b6b0e291f1d0bf1b44b2b1369 (diff)
downloadpostgresql-22e71b3afb1c3bc994ba71a8c41784ddec53ceda.tar.gz
postgresql-22e71b3afb1c3bc994ba71a8c41784ddec53ceda.zip
Fix typo
Reported by Robins Tharakan
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/parse_utilcmd.c2
-rw-r--r--src/test/regress/expected/identity.out2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c
index bb78e9637a7..e0d96d7cf01 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 ddc69505937..87ef0d3b2a2 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;