Get One item from an array..

Поиск
Список
Период
Сортировка
От Cristian Prieto
Тема Get One item from an array..
Дата
Msg-id 009701c5e3dc$17c51770$6500a8c0@gt.ClickDiario.local
обсуждение исходный текст
Список pgsql-general
Hi! I have a little trouble with a SP written in C language, I have a
function which get an array as parameter, I know I could get the array using
ArrayType *elements = PG_GETARG_ARRAY_P(n) but what about if I only want to
get just the N element from the array? For example the 3 element of this
array, I haven't check a function named Datum *item = ARR_GETITEM(n), is
there any similar function or a simple way to get it?

Thank you a lot!!! I'm a really newbie in SPs written in C language.


В списке pgsql-general по дате отправления: