It is possible to move a table from one schema to another:
ALTER TABLE my_table SET SCHEMA different_schema;
However, I cannot find the equivalent feature for moving a function from one schema to another.
How can I do this?
(version 8.3+
)
It is possible to move a table from one schema to another:
ALTER TABLE my_table SET SCHEMA different_schema;
However, I cannot find the equivalent feature for moving a function from one schema to another.
How can I do this?
(version 8.3+
)
Taken from the docs:
ALTER FUNCTION name ( [ [ argmode ] [ argname ] argtype [, ...] ] )
SET SCHEMA new_schema