Re: bytea or blobs?

Поиск
Список
Период
Сортировка
От sad
Тема Re: bytea or blobs?
Дата
Msg-id 200402180914.29318.sad@bankir.ru
обсуждение исходный текст
Ответ на Re: bytea or blobs?  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: bytea or blobs?  (Dana Hudes <dhudes@tcp-ip.info>)
Список pgsql-sql
On Tuesday 17 February 2004 18:08, you wrote:

> I'd recommend to let the application convert the binary
> data to and from base64,

Don't, please don't !

Since you have the good bytea rule to convert so called "binary" data into so
called "text". You have no need another encoding at all.

Generally, the problem is to represent zero (0x00) when input/output. Any
other byte might be stored, dumped, input, output without any problem. Then
why to avoid 8bit chars ?

Bytea notation rule completely resolve the problem of zeroes.
(and also apostrophes :-) naturally)






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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Indexes and statistics
Следующее
От: "David Witham"
Дата:
Сообщение: Re: Indexes and statistics