Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2275796

Browse files
committed
Fix typo: colums -> columns.
Along the way, also fix code indentation.Alexander Lakhin, reviewed by Michael PaquierDiscussion:http://postgr.es/m/45c44aa7-7cfa-7f3b-83fd-d8300677fdda@gmail.com
1 parentde71541 commit2275796

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("identitycolums are not supported on typed tables")));
667+
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
668+
errmsg("identitycolumns 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: identitycolums are not supported on typed tables
352+
ERROR: identitycolumns 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)

[8]ページ先頭

©2009-2025 Movatter.jp