Re: [HACKERS] bytea_output output of base64

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] bytea_output output of base64
Дата
Msg-id ebf0ed5e-67c0-4f63-3407-5b4592e0f7c3@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: [HACKERS] bytea_output output of base64  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: [HACKERS] bytea_output output of base64  (Bruce Momjian <bruce@momjian.us>)
Re: [HACKERS] bytea_output output of base64  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2/23/17 17:55, Bruce Momjian wrote:
> On Thu, Feb 23, 2017 at 04:08:58PM -0500, Tom Lane wrote:
>> Bruce Momjian <bruce@momjian.us> writes:
>>> Is there a reason we don't support base64 as a bytea_output output
>>> option, except that no one has implemented it?
>>
>> How about "we already have one too many bytea output formats"?
>> I don't think forcing code to try to support still another one
>> is a great thing ... especially not if it couldn't be reliably
>> distinguished from the hex format.
> 
> Is there a reason we chose hex over base64?

The reason we changed from the old format to hex was for performance.
We didn't consider base64 at the time, but hex would probably still have
been faster.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Automatic cleanup of oldest WAL segments with pg_receivexlog
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] bytea_output output of base64