pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: athinivas <athinivas@gmail.com>
To: pgsql-docs@postgresql.org
Subject: Creating variable argument user defined functions in C
Date: Mon, 18 Sep 2017 00:52:27 -0700 (MST)
Message-ID: <1505721147356-0.post@n3.nabble.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

Hi, 

For my project, I need to create a variable argument function which accepts
multiple strings & returns some transformed string. I've gone through the
https://www.postgresql.org/docs/9.6/static/xfunc-c.html doc..But there's no
clear documentation for variable args. 

I'able to understand we can have ArrayType as data type for same. But how to
iterate & process it??? Kindly help. 





--
Sent from: http://www.postgresql-archive.org/PostgreSQL-docs-f2165602.html


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (3+ messages)  latest in thread

Message-ID: <1505721147356-0.post@n3.nabble.com>
Permalink:  ../1505721147356-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1505721147356-0.post@n3.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: athinivas@gmail.com
  Subject: Re: Creating variable argument user defined functions in C
  In-Reply-To: <1505721147356-0.post@n3.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox