How to pass Array of Integer to UDF

Поиск
Список
Период
Сортировка
От Nikhil teltia
Тема How to pass Array of Integer to UDF
Дата
Msg-id 794607.95451.qm@web110401.mail.gq1.yahoo.com
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Ruzsinszky Attila
Дата:
Сообщение: Permanent dblink
Следующее
От: "Nico Callewaert"
Дата:
Сообщение: Elapsed time between timestamp variables in Function