Multiple parameters with the same name for functions. - Mailing list pgsql-hackers

From Gevik Babakhani
Subject Multiple parameters with the same name for functions.
Date
Msg-id 49F4C4EA.2090404@xs4all.nl
Whole thread Raw
Responses Re: Multiple parameters with the same name for functions.  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Re: Multiple parameters with the same name for functions.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

As I was working on my code generator app, I noticed that one is able to 
create a function with multiple parameters with the same name. For example:

create or replace function func_test(id integer,id varchar, id 
timestamp) returns void as
$$
begin   raise notice '%',id;
end;
$$
language plpgsql;

Is this a known behavior or a bug?

Regards,
Gevik.





pgsql-hackers by date:

Previous
From: Sam Mason
Date:
Subject: Re: RFE: Transparent encryption on all fields
Next
From: Werner Echezuria
Date:
Subject: To know what a macro does