I am using pgAdmin 4 to create and update stored procedures. I want to add more arguments to one existing procedure but the add option is not available:
What I expect to see is the "+" option, as it appears when I create a procedure
The only answer I know is to re-create the procedure, but I think there must be a better answer.
How can I make the "+" option appear?
If it is not possible, how can I add arguments to the procedure using queries?
More details: using the version 6.17 of pgAdmin 4.
Any advice is welcome, thank you!
2
Answers
The "Properties" option seems not to be a comfortable way to work, found this fast way to add arguments using pgAdmin4:
The only option is to drop the function and create a new one, which is not an expensive operation.
CREATE OR REPLACE FUNCTION
is only possible if the signature doesn’t change.