Re: PQexecParams and types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQexecParams and types
Дата
Msg-id 18106.1075822042@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQexecParams and types  (Czuczy Gergely <phoemix@harmless.hu>)
Список pgsql-performance
Czuczy Gergely <phoemix@harmless.hu> writes:
> to leave it unspecified what value should I set to the paramTypes array?
> and could you insert this answer to to docs, it could be useful

It is in the docs:

    paramTypes[] specifies, by OID, the data types to be assigned to the
    parameter symbols. If paramTypes is NULL, or any particular element
    in the array is zero, the server assigns a data type to the
    parameter symbol in the same way it would do for an untyped literal
    string.

            regards, tom lane

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

Предыдущее
От: Czuczy Gergely
Дата:
Сообщение: Re: PQexecParams and types
Следующее
От: "Kevin Barnard"
Дата:
Сообщение: Re: Increasing number of PG connections.