| От | Daniel Verite |
|---|---|
| Тема | Re: return value for PQbinaryTuples |
| Дата | |
| Msg-id | c5c4131e-e947-4895-9112-c4e11a0ebb68@mm обсуждение исходный текст |
| Ответ на | Re: return value for PQbinaryTuples (Merlin Moncure <mmoncure@gmail.com>) |
| Ответы |
Re: return value for PQbinaryTuples
|
| Список | pgsql-general |
Merlin Moncure wrote:
> PQbinaryTuples is basically going to return whatever you passed into
> resultformat when you executed the query (in the case of PQexec, it's
> going to be 1 always).
You mean 0 (i.e. text, not binary). And with an exception on PQexec("FETCH
c") when c is a binary cursor. In this case the result is binary and
PQbinaryTuples() reflects that.
Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера