-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PostgreSQL] ERROR: adding primary key to a partitioned table is not yet implemented #612
Comments
…' statements to reduce occurences of error in #612
…' statements to reduce occurences of error in #612
I had initially created a new GH issue for this, not knowing one already existed - #1285 There have been additional users who have run into issues with the way we export schema into two different DDLs (
We can avoid both of these by creating the |
If we have a Partitioned Table in which
PRIMARY KEY
is added later on usingALTER TABLE
then it fails with the following error:Workaround: Add
PRIMARY KEY
in theCREATE TABLE
statement and remove correspondingALTER TABLE
statement.Sample Exported Schema:
Suggested Changes:
The text was updated successfully, but these errors were encountered: