Skip to content

Conversation

LaurentRDC
Copy link
Member

This pull request adds the ability to migrate Postgres' Array types.

Note that the mechanism by which this is done is still unsafe; if trying to migrate to an array type whose elements are unsupported (i.e. array OIDs that don't exist here), then the migration will result in a runtime error rather than a compile time error.

Breaking changes would have to be made to get compile-time safety of array migrations.

Fixes #354

@LaurentRDC LaurentRDC self-assigned this Jan 5, 2025
@@ -164,70 +182,3 @@ marshalTest' cmp gen postgresConn =
v' `cmp` a

assertBool "Hedgehog test failed" passes

Copy link
Member Author

@LaurentRDC LaurentRDC Jan 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test from #692 has become redundant

@LaurentRDC LaurentRDC merged commit 8bab511 into master Jan 5, 2025
16 checks passed
@LaurentRDC LaurentRDC deleted the fix-354 branch January 5, 2025 01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error call in array migration
1 participant