"Ow" <nikeow(at)yahoo(dot)com> writes:
> => alter function dbo.test(text) rename to dbo.test_rename;
> ERROR: syntax error at or near "."
> LINE 1: alter function dbo.test(text) rename to dbo.test_rename;
> ^
This is not correct syntax --- leave off the second "dbo.".
regards, tom lane