Обсуждение: How to pass Array of Integer to UDF

Поиск
Список
Период
Сортировка

How to pass Array of Integer to UDF

От
Nikhil teltia
Дата:
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.