Content-Length: 293979 | pFad | http://github.com/postgrespro/postgres/commit/22757960bb3b2a6fa331bad132998c53b3e744a9

8B Fix typo: colums -> columns. · postgrespro/postgres@2275796 · GitHub
Skip to content

Commit 2275796

Browse files
committed
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
1 parent de71541 commit 2275796

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/parser/parse_utilcmd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,8 +664,8 @@ transformColumnDefinition(CreateStmtContext *cxt, ColumnDef *column)
664664

665665
if (cxt->ofType)
666666
ereport(ERROR,
667-
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
668-
errmsg("identity colums are not supported on typed tables")));
667+
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
668+
errmsg("identity columns are not supported on typed tables")));
669669
if (cxt->partbound)
670670
ereport(ERROR,
671671
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),

src/test/regress/expected/identity.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ DROP USER regress_user1;
349349
-- typed tables (currently not supported)
350350
CREATE TYPE itest_type AS (f1 integer, f2 text, f3 bigint);
351351
CREATE TABLE itest12 OF itest_type (f1 WITH OPTIONS GENERATED ALWAYS AS IDENTITY); -- error
352-
ERROR: identity colums are not supported on typed tables
352+
ERROR: identity columns are not supported on typed tables
353353
DROP TYPE itest_type CASCADE;
354354
-- table partitions (currently not supported)
355355
CREATE TABLE itest_parent (f1 date NOT NULL, f2 text, f3 bigint) PARTITION BY RANGE (f1);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/22757960bb3b2a6fa331bad132998c53b3e744a9

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy