BUG #3592: alter function rename to doesn't work - Mailing list pgsql-bugs

From Ow
Subject BUG #3592: alter function rename to doesn't work
Date
Msg-id 200709020345.l823jegL097030@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3592: alter function rename to doesn't work
Re: BUG #3592: alter function rename to doesn't work
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3592
Logged by:          Ow
Email address:      nikeow@yahoo.com
PostgreSQL version: 8.2.4
Operating system:   Linux (gentoo)
Description:        alter function rename to doesn't work
Details:

=> create or replace function dbo.test(AA text) returns varchar(4) as
-> $$
$> BEGIN
$>    return AA;
$> END;
$> $$ language plpgsql;
CREATE FUNCTION

=> select dbo.test('text');
 test
------
 text
(1 row)

=> 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;
                                                   ^

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3591: autovacuum crash
Next
From: Devrim GÜNDÜZ
Date:
Subject: Re: BUG #3592: alter function rename to doesn't work