18F / rdbms-subsetter

Generates a subset of a relational database that respects foreign key constraints
Creative Commons Zero v1.0 Universal
313 stars 30 forks source link

22 postgres array enum #23

Closed fbertola closed 6 years ago

fbertola commented 9 years ago

Fixes a problem with PostgreSQL and ARRAY[ENUM] columns.

catherinedevlin commented 6 years ago

Thank you for this fix, and apologies for the record-setting delay in merging it! I wanted to have test coverage for it, which in turn led me down a rabbit hole I got lost in. All is well now, though!

catherinedevlin commented 6 years ago

I'm sorry, GitHub doesn't seem to detect that this was merged - perhaps b/c I modified with a couple additional commits of my own before merging it into master? In any case, I'm "closing" the PR, but your code's there (mostly in dialects/postgres.py); sorry if I screwed up the git credit.

fbertola commented 6 years ago

Ahaha don't worry. Glad it helped. Actually I used your tool quite a lot so thanks again for making it 😊