-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
PrimaryKey and Unique Constraint do not support 'postgresql_include' #10665
Copy link
Copy link
Closed
Labels
PRs (with tests!) welcomea fix or feature which is appropriate to be implemented by volunteersa fix or feature which is appropriate to be implemented by volunteerspostgresqlreflectionreflection of tables, columns, constraints, defaults, sequences, views, everything elsereflection of tables, columns, constraints, defaults, sequences, views, everything elseschemathings related to the DDL related objects like Table, Column, CreateIndex, etc.things related to the DDL related objects like Table, Column, CreateIndex, etc.use casenot really a feature or a bug; can be support for new DB features or user use cases not anticipatednot really a feature or a bug; can be support for new DB features or user use cases not anticipated
Milestone
Metadata
Metadata
Assignees
Labels
PRs (with tests!) welcomea fix or feature which is appropriate to be implemented by volunteersa fix or feature which is appropriate to be implemented by volunteerspostgresqlreflectionreflection of tables, columns, constraints, defaults, sequences, views, everything elsereflection of tables, columns, constraints, defaults, sequences, views, everything elseschemathings related to the DDL related objects like Table, Column, CreateIndex, etc.things related to the DDL related objects like Table, Column, CreateIndex, etc.use casenot really a feature or a bug; can be support for new DB features or user use cases not anticipatednot really a feature or a bug; can be support for new DB features or user use cases not anticipated
Discussed in #10664
Originally posted by LeResKP November 20, 2023
When trying to create a PrimaryKeyConstraint postgresql_include is not supported. I checked a bit the code and it seems there is no postgres specific kw allowed for PrimaryKeyConstraint.
This example use alambic, but it's the same when creating a Table().
Here is the error traceback:
When creating an index, it works.
Is there a reason this is not working? Or it's a missing feature ?
Thanks in advance for your help