How to pass Array of Integer to UDF - Mailing list pgsql-novice

From Nikhil teltia
Subject How to pass Array of Integer to UDF
Date
Msg-id 794607.95451.qm@web110401.mail.gq1.yahoo.com
Whole thread Raw
List pgsql-novice
Hi
  I am trying to figure out a way so that I can pass a "Integer array" to UDF written in C.
any idea how can I do it ?

PG_GETARG_xxx is there for INT,FLOAT , text pointer but I see nothing is defined for Integer_pointer. There do exist INT4ARRAYOID but not able to figure out way of passing integer array in function parameter.

Thanks
Nikhil



Check out the all-new Messenger 9.0! Click here.

pgsql-novice by date:

Previous
From: Ruzsinszky Attila
Date:
Subject: Permanent dblink
Next
From: "Nico Callewaert"
Date:
Subject: Elapsed time between timestamp variables in Function