BUG #3592: alter function rename to doesn't work

From: "Ow" <nikeow(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3592: alter function rename to doesn't work
Date: 2007-09-02 03:45:40
Message-ID: 200709020345.l823jegL097030@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3592
Logged by: Ow
Email address: nikeow(at)yahoo(dot)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;
^

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2007-09-02 09:40:20 Re: BUG #3592: alter function rename to doesn't work
Previous Message Tom Lane 2007-08-31 21:24:05 Re: BUG #3591: autovacuum crash