Re: Store base64 in database. Use bytea or text?

Поиск
Список
Период
Сортировка
От Andy Colson
Тема Re: Store base64 in database. Use bytea or text?
Дата
Msg-id 4D3F4FC8.3040809@squeakycode.net
обсуждение исходный текст
Ответ на Store base64 in database. Use bytea or text?  (Andre Lopes <lopes80andre@gmail.com>)
Ответы Re: Store base64 in database. Use bytea or text?
Список pgsql-general
On 1/25/2011 4:27 PM, Andre Lopes wrote:
> Hi,
>
> I need to put some images on Base64 in a PostgreSQL database. Wich
> type should I use and what is the difference between using bytea or
> text to store Base64?
>
> Best Regards,
>

If they are encoded in base64, use text.  Use bytea if you dont want to
encode them.

-Andy

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

Предыдущее
От: Bill Moran
Дата:
Сообщение: Re: Store base64 in database. Use bytea or text?
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: Store base64 in database. Use bytea or text?