Re: proposal: generic function, constructor function

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: generic function, constructor function
Дата
Msg-id 162867790801182359i1e538443la4c0daa0ae3da5d6@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: generic function, constructor function  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: proposal: generic function, constructor function  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
On 19/01/2008, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
> > But I am not able create function with
> > ANY params.  Is it possible do it via CREATE FUNCTION .. ?
>
> It's a reserved word :-(.  Try "any"
>
>                         regards, tom lane
>

I did it
postgres=# create or replace function fx1(any, any) returns text
language C strict;
ERROR:  syntax error at or near "any"
LINE 1: create or replace function fx1(any, any) returns text langua...                                      ^
postgres=#

do you have any sample, please,

thank you
Pavel


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Traveling to London
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: proposal: generic function, constructor function