On Sat, 19 Jan 2008, Pavel Stehule wrote:
> 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,
Tom said, try "any". Don't forget about double quotes
>
> thank you
> Pavel
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>
Regards, Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83