]> granicus.if.org Git - postgresql/commitdiff
Fix typo: colums -> columns.
authorRobert Haas <rhaas@postgresql.org>
Wed, 31 Jan 2018 21:45:37 +0000 (16:45 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 31 Jan 2018 21:45:37 +0000 (16:45 -0500)
Along the way, also fix code indentation.

Alexander Lakhin, reviewed by Michael Paquier

Discussion: http://postgr.es/m/45c44aa7-7cfa-7f3b-83fd-d8300677fdda@gmail.com

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

index 5afb363096a8a663ab19b26b1ad01c43feccffd8..1d35815fcfe0161d3612ca7d01eff809640dfc75 100644 (file)
@@ -664,8 +664,8 @@ transformColumnDefinition(CreateStmtContext *cxt, ColumnDef *column)
 
                                        if (cxt->ofType)
                                                ereport(ERROR,
-                                                                       (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
-                                                                        errmsg("identity colums are not supported on typed tables")));
+                                                               (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
+                                                                errmsg("identity columns are not supported on typed tables")));
                                        if (cxt->partbound)
                                                ereport(ERROR,
                                                                (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
index 87ef0d3b2a213620c2a01b6b5631376812388bc6..627389b749f441263fcd3ace8d37766921d088f0 100644 (file)
@@ -349,7 +349,7 @@ DROP USER regress_user1;
 -- typed tables (currently not supported)
 CREATE TYPE itest_type AS (f1 integer, f2 text, f3 bigint);
 CREATE TABLE itest12 OF itest_type (f1 WITH OPTIONS GENERATED ALWAYS AS IDENTITY); -- error
-ERROR:  identity colums are not supported on typed tables
+ERROR:  identity columns are not supported on typed tables
 DROP TYPE itest_type CASCADE;
 -- table partitions (currently not supported)
 CREATE TABLE itest_parent (f1 date NOT NULL, f2 text, f3 bigint) PARTITION BY RANGE (f1);