Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 22e71b3

Browse files
committed
Fix typo
Reported by Robins Tharakan
1 parent e2cc650 commit 22e71b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/parser/parse_utilcmd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ transformColumnDefinition(CreateStmtContext *cxt, ColumnDef *column)
672672
if (cxt->partbound)
673673
ereport(ERROR,
674674
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
675-
errmsg("identify columns are not supported on partitions")));
675+
errmsg("identity columns are not supported on partitions")));
676676

677677
ctype = typenameType(cxt->pstate, column->typeName, NULL);
678678
typeOid = HeapTupleGetOid(ctype);

src/test/regress/expected/identity.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,5 +356,5 @@ CREATE TABLE itest_parent (f1 date NOT NULL, f2 text, f3 bigint) PARTITION BY RA
356356
CREATE TABLE itest_child PARTITION OF itest_parent (
357357
f3 WITH OPTIONS GENERATED ALWAYS AS IDENTITY
358358
) FOR VALUES FROM ('2016-07-01') TO ('2016-08-01'); -- error
359-
ERROR: identify columns are not supported on partitions
359+
ERROR: identity columns are not supported on partitions
360360
DROP TABLE itest_parent;

0 commit comments

Comments
 (0)