Skip to content
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

Foreign keys are not preserved #8

Closed
afn opened this issue Jul 25, 2017 · 1 comment
Closed

Foreign keys are not preserved #8

afn opened this issue Jul 25, 2017 · 1 comment

Comments

@afn
Copy link
Contributor

afn commented Jul 25, 2017

Foreign keys (and any other constraints) that are present on the original table should be propagated to the intermediate table and partitions, the same way that indexes are propagated.

@ankane
Copy link
Owner

ankane commented Jul 26, 2017

Hey @afn, makes sense. Happy to accept a PR if you or anyone else wants to add it.

afn added a commit to afn/pgslice that referenced this issue Jul 26, 2017
This addresses issue ankane#8 by propagating foreign keys from the original
table to both intermediate and partition tables.
afn added a commit to afn/pgslice that referenced this issue Jul 26, 2017
This addresses issue ankane#8 by propagating foreign keys from the original
table to both intermediate and partition tables.
@ankane ankane closed this as completed Jul 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants