Conversation
And add doc for `procedures_are()`
copy pasted with minor edition from `functions_are()`
It is now excluding procedures from the list of functions. See `procedures_are()` instead.
ce21421 to
2dcd43b
Compare
|
Thank you! |
theory
left a comment
There was a problem hiding this comment.
Very thorough, but I think we should consider a deprecation period and a warning. Thoughts?
| 'functions', | ||
| ARRAY( | ||
| SELECT name FROM tap_funky WHERE schema = $1 | ||
| SELECT name FROM tap_funky WHERE schema = $1 and kind != 'p' |
There was a problem hiding this comment.
What do we do about people who have used these functions for procedures? With this change, their tests will start failing.
I wonder if maybe we should introduce a warning with a deprecation notice and instructions for them to update their tests when kind = 'p', and then remove it in a year or so.
There was a problem hiding this comment.
see alternative in the other 'tab' discussion
There was a problem hiding this comment.
The migration file is missing the changes to the functions_are() functions.
Yes I completely agree, though at the same time I'm facing another one with triggers, so maybe better keep |
|
Oh! ISTR that I've been thinking about This could use some normalization. I think, ideally, we'd have Too complicated? |
code, test and doc overall ok, though there are some other references to functions_are() that I didn't explore yet.