Re: function_name.parameter_name - Mailing list pgsql-hackers

From Tom Lane
Subject Re: function_name.parameter_name
Date
Msg-id 8174.1283973360@sss.pgh.pa.us
Whole thread Raw
In response to Re: function_name.parameter_name  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> ... but if you supply parameters to the function, it does not work:

>     test=> CREATE OR REPLACE FUNCTION xxx(aaa INTEGER) RETURNS void AS $$
>     ERROR:  cannot change name of input parameter "yyy"
>     HINT:  Use DROP FUNCTION first.

This is failing because you tried to redeclare xxx(int) with a different
name for its parameter, which is no longer allowed.  It has nothing to
do with the question at hand.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: git: uh-oh
Next
From: Darren Duncan
Date:
Subject: Re: function_name.parameter_name