Re: How to parse data type array columns?

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: How to parse data type array columns?
Дата
Msg-id 871x4tx6rv.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на How to parse data type array columns?  (Janning Vygen <vygen@gmx.de>)
Ответы Re: How to parse data type array columns?  (Janning Vygen <vygen@gmx.de>)
Re: How to parse data type array columns?  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-php
Janning Vygen <vygen@gmx.de> writes:

> Hi,
>
> if you use array data type in your database design and query your tables with
> PHP you get a string which represents the array. It can look something like
> this:
>
> [1:2]{{"Hallo", "Te\"st},"},{"Hallo", "Test"}}

Do you still get that if you use the binary format? I would expect it to be
easier to parse the binary format than this format which is really intended
for humans and dump files.

I think the right place to deal with this is down in the driver where it has
all the information about the types and can request the format it wants from
the database.

--
greg

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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: How to parse data type array columns?
Следующее
От: Janning Vygen
Дата:
Сообщение: Re: How to parse data type array columns?