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

Support for Table partitions with FKs #25

Open
LordNoteworthy opened this issue Dec 16, 2015 · 3 comments
Open

Support for Table partitions with FKs #25

LordNoteworthy opened this issue Dec 16, 2015 · 3 comments

Comments

@LordNoteworthy
Copy link

Hello,

I think many of us run into the situation when the primary key of the table which is partitioned is referenced somehow in another table and it would be great if architect could detect this and creates shadow table which will keep track of FKs as show here:

https://postgresinfo.wordpress.com/2012/05/29/table-partition-with-foreign-keys/

Thank you so much.

@maxtepkeev
Copy link
Owner

Hi,

Thanks for the feature request.

Yes, implementing this would be really great. I'm aware of this approach with shadow tables and I'm thinking about this feature for a long time, unfortunately due to the lack of my free time I can't tell you the ETA for this and as always pull requests are welcome.

@openrijal
Copy link

does this apply to #27

@maxtepkeev
Copy link
Owner

@Crackjack Yes, see #27 for a more detailed answer.

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

3 participants