diff options
author | Robert Haas <rhaas@postgresql.org> | 2018-01-31 16:45:37 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2018-01-31 16:45:37 -0500 |
commit | 22757960bb3b2a6fa331bad132998c53b3e744a9 (patch) | |
tree | 54d47c5e4fbceca02a0efdab382e5f59f0a26060 /src | |
parent | de715414608846ce1ae44b79a39d61c48e25dce7 (diff) | |
download | postgresql-22757960bb3b2a6fa331bad132998c53b3e744a9.tar.gz postgresql-22757960bb3b2a6fa331bad132998c53b3e744a9.zip |
Fix typo: colums -> columns.
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/parser/parse_utilcmd.c | 4 | ||||
-rw-r--r-- | src/test/regress/expected/identity.out | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/parser/parse_utilcmd.c b/src/backend/parser/parse_utilcmd.c index 5afb363096a..1d35815fcfe 100644 --- a/src/backend/parser/parse_utilcmd.c +++ b/src/backend/parser/parse_utilcmd.c @@ -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), diff --git a/src/test/regress/expected/identity.out b/src/test/regress/expected/identity.out index 87ef0d3b2a2..627389b749f 100644 --- a/src/test/regress/expected/identity.out +++ b/src/test/regress/expected/identity.out @@ -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); |