postgresql_16:7.1.25.2 Examples
PostgreSQL 16 > Reference > SQL Commands > ALTER ROUTINE > Examples
To rename the routine foo for type integer to foobar: ALTER ROUTINE foo(integer) RENAME TO foobar; This command will work independent of whether foo is an aggregate, function, or procedure.