Re: Accessing structured datatypes using libpq

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Accessing structured datatypes using libpq
Дата
Msg-id 5397FACA.7090803@hogranch.com
обсуждение исходный текст
Ответ на Accessing structured datatypes using libpq  (Raimo Jormakka <raimo.jormakka@gmail.com>)
Ответы Re: Accessing structured datatypes using libpq
Список pgsql-general
On 6/10/2014 11:20 PM, Raimo Jormakka wrote:
>
> What is the recommended way of accessing structured data-types
> (especially JSONB and HSTORE) using libpq? It seems that by default
> JSONB data for example is returned as text.
>
> Is it not possible to have binary access to these data-types? If it is
> possible, then how do I do it exactly as the only thing I get from
> libpq is a void-pointer?

those are text data types.   there is no binary representations.



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: Raimo Jormakka
Дата:
Сообщение: Accessing structured datatypes using libpq
Следующее
От: Raimo Jormakka
Дата:
Сообщение: Re: Accessing structured datatypes using libpq