variadic args to C functions

From: Alan Nilsson <anilsson(at)apple(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: variadic args to C functions
Date: 2013-06-20 04:56:46
Message-ID: 6B461DCF-A1EA-4C1F-AB15-173B7D8F9F6F@apple.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Has anyone got any pointers on implementing a C function in an extension that takes variadic args? I would like to do something like:

select my_function(XXX,...); where XXX will be between 1 and many integers.

Possible? I didn't see any examples in the contrib directory.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message James Sewell 2013-06-20 05:24:46 LDAP authentication timing out
Previous Message Jayadevan M 2013-06-20 03:24:43 Re: json functions