C functions, variable number of params?

From: mlw <markw(at)mohawksoft(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: C functions, variable number of params?
Date: 2001-07-18 12:52:54
Message-ID: 3B5586A6.457F31D2@mohawksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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 (iscachable);
ERROR: parser: parse error at or near "."

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Macdonald 2001-07-18 14:26:51 Re: Idea: recycle WAL segments, don't delete/recreate 'em
Previous Message Jan Wieck 2001-07-18 12:35:58 Re: MySQL Gemini code