Re: [HACKERS] C functions

2001-07-20 Thread Tom Lane
mlw <[EMAIL PROTECTED]> writes: > Does anyone know if it is possible to define a Postgres C function as > taking a variable number of parameters? The fmgr code will pass it, > but I don't see any way to use "create function" to register it. No, it's not. There is some (purely speculative) suppor

[HACKERS] C functions

2001-07-20 Thread mlw
Does anyone know if it is possible to define a Postgres C function as taking a variable number of parameters? The fmgr code will pass it, but I don't see any way to use "create function" to register it. Does one have to issue a create function for each additional parameter? I am trying to port s

[HACKERS] C functions, variable number of params?

2001-07-18 Thread mlw
How do I define a function as taking a variable number of parameters. The documentation seems to indicate (...) but, no such luck. markw=# create function concat( ... ) markw-# returns varchar markw-# as '/usr/local/lib/pgcontains.so', 'concat' markw-# language 'c' with (