Skip to content

Conversation

@joshainglis
Copy link

I noticed when altering the default value of a function parameter that migra didn't pick up that there had been a change.
This was due to only using pg_get_function_identity_arguments() for the signature, which does not include defaults.

This change adds an extra column to the functions.sql query to get pg_get_function_arguments(p.oid) as function_arguments which is then used as the signature for the create function statement. We still use the identity arguments for dropping the function.

@djrobstep djrobstep force-pushed the master branch 3 times, most recently from 13f62b5 to ebbc2e4 Compare September 18, 2022 05:57
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.

1 participant