Multiple parameters with the same name for functions.

Поиск
Список
Период
Сортировка
От Gevik Babakhani
Тема Multiple parameters with the same name for functions.
Дата
Msg-id 49F4C4EA.2090404@xs4all.nl
обсуждение исходный текст
Ответы 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>)
Список 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 по дате отправления:

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: RFE: Transparent encryption on all fields
Следующее
От: Werner Echezuria
Дата:
Сообщение: To know what a macro does