Multiple parameters with the same name for functions.

From: Gevik Babakhani <pgdev(at)xs4all(dot)nl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Multiple parameters with the same name for functions.
Date: 2009-04-26 20:32:42
Message-ID: 49F4C4EA.2090404@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Werner Echezuria 2009-04-26 20:50:41 To know what a macro does
Previous Message Sam Mason 2009-04-26 19:54:56 Re: RFE: Transparent encryption on all fields