Re: Scripting a ALTER PROCEDURE or FUNCTION to Change OWNER - Mailing list pgsql-admin

From Ron Johnson
Subject Re: Scripting a ALTER PROCEDURE or FUNCTION to Change OWNER
Date
Msg-id CANzqJaDwG60HwWwSxuKocA8ugn95YfC1=Kh4d5zEigYUA3qgqA@mail.gmail.com
Whole thread Raw
In response to Re: Scripting a ALTER PROCEDURE or FUNCTION to Change OWNER  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Scripting a ALTER PROCEDURE or FUNCTION to Change OWNER
List pgsql-admin
On Tue, Jun 18, 2024 at 3:39 PM David G. Johnston <david.g.johnston@gmail.com> wrote:
On Tuesday, June 18, 2024, PABLO ANDRES IBARRA DUPRAT <Pablo.Ibarra@itau.cl> wrote:

                                    Hi Dear Community.

 

                                               I need your help with advices about the way to script a SQL command to generate a list of ALTER PROCEDURE and change owner of a big number of procedures.

                                               As you know to identify the procedure or function is neccesary to add to the name of routine and  list of parameters with their data type in each case.

                                               Please any advice Will be appreciate.

 

                                        


Have you determined that “reassigned owned” won’t work for you?

That's a pretty blunt club.  Changes the ownership of EVERYTHING, no? 

pgsql-admin by date:

Previous
From:
Date:
Subject: RE: Scripting a ALTER PROCEDURE or FUNCTION to Change OWNER
Next
From: "David G. Johnston"
Date:
Subject: Re: Scripting a ALTER PROCEDURE or FUNCTION to Change OWNER