I've read through some solutions proposed on ml, blogs etc... but maybe something changed or someone came up with a better idea or just I wasn't able to find a satisfactory solution through google... Of course PHP arrays can't be passed directly to pg functions so: I can: 1) write a php function that prepare the array as a string with proper escaping 2) pass a text string and "number of elements" and let the pg function parse the text 3) create a temp table and pass it to the function (?) Can anything be done with prepared statement and pg_execute? Can pg functions accept variable number of arguments? I'm going to go with 1) but well it would be nice if I discover something nicer. thx -- Ivan Sergio Borgonovo http://www.webthatworks.it
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера