ALTER FUNCTION name ( [ type [, ...] ] ) RENAME TO newname
ALTER FUNCTION 修改一个函数的定义,目前唯一的功能是修改它的名字。
把名字为 sqrt,参数类型为 integer 的函数重命名为 square_root:
ALTER FUNCTION sqrt(integer) RENAME TO square_root;
原文:https://www.cnblogs.com/fanweisheng/p/11076097.html