Move function to another schema

You can move a table from one schema to another:

ALTER TABLE my_table SET SCHEMA different_schema;

However, I cannot find an equivalent function to move a function from one circuit to another.

How can i do this?

(version 8.3+)

+4
source share
1 answer

Taken from docs :

ALTER FUNCTION name ( [ [ argmode ] [ argname ] argtype [, ...] ] )
SET SCHEMA new_schema
+8
source

Source: https://habr.com/ru/post/1770810/


All Articles