mirror of
https://github.com/postgres/postgres.git
synced 2025-08-12 15:23:02 +03:00
Fix typo
Reported by Robins Tharakan
This commit is contained in:
@@ -672,7 +672,7 @@ transformColumnDefinition(CreateStmtContext *cxt, ColumnDef *column)
|
|||||||
if (cxt->partbound)
|
if (cxt->partbound)
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||||
errmsg("identify columns are not supported on partitions")));
|
errmsg("identity columns are not supported on partitions")));
|
||||||
|
|
||||||
ctype = typenameType(cxt->pstate, column->typeName, NULL);
|
ctype = typenameType(cxt->pstate, column->typeName, NULL);
|
||||||
typeOid = HeapTupleGetOid(ctype);
|
typeOid = HeapTupleGetOid(ctype);
|
||||||
|
@@ -356,5 +356,5 @@ CREATE TABLE itest_parent (f1 date NOT NULL, f2 text, f3 bigint) PARTITION BY RA
|
|||||||
CREATE TABLE itest_child PARTITION OF itest_parent (
|
CREATE TABLE itest_child PARTITION OF itest_parent (
|
||||||
f3 WITH OPTIONS GENERATED ALWAYS AS IDENTITY
|
f3 WITH OPTIONS GENERATED ALWAYS AS IDENTITY
|
||||||
) FOR VALUES FROM ('2016-07-01') TO ('2016-08-01'); -- error
|
) FOR VALUES FROM ('2016-07-01') TO ('2016-08-01'); -- error
|
||||||
ERROR: identify columns are not supported on partitions
|
ERROR: identity columns are not supported on partitions
|
||||||
DROP TABLE itest_parent;
|
DROP TABLE itest_parent;
|
||||||
|
Reference in New Issue
Block a user