Re: Variable array sizes with PQexecParams

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Variable array sizes with PQexecParams
Дата
Msg-id 22935.1151355888@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Variable array sizes with PQexecParams  ("Garcia, Joshua" <Joshua.Garcia@xerox.com>)
Список pgsql-novice
"Garcia, Joshua" <Joshua.Garcia@xerox.com> writes:
> If I want the number of elements in that array to vary with each
> execution, then I'd have to use the $1="'{foo,bar}'" method right?

AFAICS you could do it either way --- the pain about balances out,
once you consider the effort involved in doing the quoting correctly.

            regards, tom lane

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

Предыдущее
От: "Garcia, Joshua"
Дата:
Сообщение: Re: Variable array sizes with PQexecParams
Следующее
От:
Дата:
Сообщение: Re: Table Merge Successful, Primary Keys Missing