Skip to content

bugfix: Change permissions for stored procedures

Nikolay Samokhvalov requested to merge nik-fix-alter-stored-procedure into master

Stored procedures, introduced in Postgres 11, are also stored in pg_proc. Currently, we have a bug: we're attempting to run ALTER FUNCTION both for functions and procedures. For the latter, it should be ALTER PROCEDURE.

Merge request reports