On Sat, 19 Jan 2008, Pavel Stehule wrote:
On 19/01/2008, Tom Lane <[EMAIL PROTECTED]> wrote:
"Pavel Stehule" <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED], http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org