]> granicus.if.org Git - postgresql/commitdiff
Fix typo
authorMagnus Hagander <magnus@hagander.net>
Sat, 9 Dec 2017 12:45:06 +0000 (13:45 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sat, 9 Dec 2017 13:48:08 +0000 (14:48 +0100)
Reported by Robins Tharakan

src/backend/parser/parse_utilcmd.c
src/test/regress/expected/identity.out

index bb78e9637a7a4176ec662c92c264c6695483f4cb..e0d96d7cf01b06df5d27d33098ac4b70d5314f8f 100644 (file)
@@ -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);
index ddc69505937811059aef5c41bc096bc7459cb41e..87ef0d3b2a213620c2a01b6b5631376812388bc6 100644 (file)
@@ -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;