Re: RFD: hexstring(n) data type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: RFD: hexstring(n) data type
Дата
Msg-id 2352.1208478093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: RFD: hexstring(n) data type  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> However bytea has an inconvenient string representation. Really I would prefer
> if bytea were *always* read and written in hex format.

Yeah, the escaping rule is a mess: hard to work with and even less
storage-efficient than hex would be.

> We could have a guc to
> enable this but it would make it hard to write code which would function
> consistently as part of a larger application.

Well, the datetime types have had DateStyle for years and people have
managed to deal with it, so maybe you're overestimating the problem.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Lessons from commit fest
Следующее
От: Aidan Van Dyk
Дата:
Сообщение: Re: Lessons from commit fest