-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PGProcedure #62
Comments
There is no support for procedures currently as (afaik) the functionality is a subset of functions. Is there something specific you need that can't work as a function? |
More for compatibility purpose. Having some existing statements that are in the form of procedure. It would be nice if one could use something like PGProcedure instead of updating existing codebase/db. |
Got it No, there is not support for procedures and it isn't currently on the roadmap But if anything is missing from functions that prevents porting procedures to them I'd be interested in supporting it |
Procedures can do transaction management, while functions cannot. This allows for a whole set of use cases that are supported by procedures, but not by functions. |
Do we have a PGFunction equivalent for procedure statement?
Right now we could do
PGFunction.from_sql('create function...')
orPGFunction(..constructor params)
Is there a
PGProcedure
class that we can use to generate acreate procedure
statement ?https://www.postgresql.org/docs/11/sql-createprocedure.html
The text was updated successfully, but these errors were encountered: