PROCEDUREs aren't shown in the Functions view #33007
Replies: 3 comments 1 reply
-
|
Hi everyone, due to inactivity on this issue I've moved the issue over to discussions/enhancements. |
Beta Was this translation helpful? Give feedback.
-
|
Also having this bug. I think it can be worked around with a void returning function though. So it's not entirely a serious bug. But it can be annoying if you're new to it. Still, quite sure you can't rollback with functions, so it is an annoying workaround. |
Beta Was this translation helpful? Give feedback.
-
|
We have also run into this issue along with the fact that Procedures aren't picked up by the TypeScript type generator, we need to use procedures due to their support for |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
Occasionally it's necessary to create a PROCEDURE instead of a FUNCTION. Specifically, PROCEDUREs invoked with CALL can do their own transaction management, while FUNCTIONs cannot.
It's possible to create, replace, and drop PROCEDUREs using the SQL editor, but they don't show up in the Functions view, which makes accessing and editing them very difficult.
To Reproduce
Expected behavior
PROCEDUREs should be shown in the Functions view together with actual FUNCTIONs. There should be some symbol or similar that allows to distinguish which is which.
Alternatively, there could be a separate Database / Procedures view just for them.
Ideally it should also be possible to create them using the GUI. Either by adding to the "Add a new function" view a checkbox "Create as procedure" (or something similar). Or, if there is a new Database / Procedures view, by adding a "Add a new procedure" button there.
System information
All/latest.
Beta Was this translation helpful? Give feedback.
All reactions