Обсуждение: calling a pl/pgsql function with array in argument

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

calling a pl/pgsql function with array in argument

От
"Ruben Vivas"
Дата:
Hello, i am tryin to pass an array like argument to a pl/pgsql function but
i can not find the correct data type in te function.

i am using php.

ex: $dato[][] is the array using php, and i need call:

1. $res = fn_vea ($dato);   ?????

2. in pl/pgsql CREATE FUNCTION fn_vea (integer [][]) RETURNS varchar (25) AS
.........


does it work??
thank you