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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy