From: | "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: generic function, constructor function |
Date: | 2008-01-19 07:59:18 |
Message-ID: | 162867790801182359i1e538443la4c0daa0ae3da5d6@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 19/01/2008, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Oleg Bartunov | 2008-01-19 10:16:06 | Re: proposal: generic function, constructor function |
Previous Message | Josh Berkus | 2008-01-19 01:39:04 | Re: Traveling to London |