Re: how to read bytea field

Поиск
Список
Период
Сортировка
От Markus Schiltknecht
Тема Re: how to read bytea field
Дата
Msg-id 45B76D3E.5000604@bluegap.ch
обсуждение исходный текст
Ответ на how to read bytea field  (marcelo Cortez <jmdc_marcelo@yahoo.com.ar>)
Ответы Re: how to read bytea field  (marcelo Cortez <jmdc_marcelo@yahoo.com.ar>)
Список pgsql-general
Hi,

marcelo Cortez wrote:
>> Are you sure you tested with a real bytea field?
>
>  Yeah , i  store bytea using encode function , how you
> say .

I never said 'use encode function to store bytea'. I tried to explain
that encode returns TEXT.

>  The field of my table is bytea type , and store real
> bytea data in this field.

That's contradictory to the above. Please show me exactly what you do,
please (the INSERT as well as the SELECT you want to use).

> I think my mistake was use bytea field.
> I thinking in turn this field to text and use
> decode/encode for storage binary data.

That sounds like wasting diskspace and I/O bandwith.

Regards

Markus


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

Предыдущее
От: "Shoaib Mir"
Дата:
Сообщение: Re: how to read bytea field
Следующее
От: marcelo Cortez
Дата:
Сообщение: Re: how to read bytea field