Re: libpq, PQExecParams and the inserting of binary data

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq, PQExecParams and the inserting of binary data
Дата
Msg-id 26431.1117897062@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: libpq, PQExecParams and the inserting of binary data  (Volkan YAZICI <volkan.yazici@gmail.com>)
Ответы Re: libpq, PQExecParams and the inserting of binary data
Список pgsql-interfaces
Volkan YAZICI <volkan.yazici@gmail.com> writes:
> So, this means, user _has_to_ specify the size of input while using
> binary data.

You expected something different?  libpq could hardly assume that
strlen() is the way to find out the length of a binary parameter.
        regards, tom lane


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

Предыдущее
От: Volkan YAZICI
Дата:
Сообщение: Re: libpq, PQExecParams and the inserting of binary data
Следующее
От: Greg Stark
Дата:
Сообщение: Re: DBD::Pg performance bites compared to DBD::mysql?