On 2/26/17 05:05, Robert Haas wrote:
> That having been said, I do agree with Tom's point that we already
> have one more bytea_output format than would be ideal. To justify
> implementing base64 as a third choice, it would have to not only be
> better than hex, but enough better to justify the migration pain. I'm
> not sure whether it could clear that bar.
Another point is that an "output" format is not the same as an
"encoding" format. An output format should be somewhat human-readable.
Otherwise we could find all kinds of more compact output formats for
different data types. The hex format satisfies all of performance, ease
of use, and readability pretty well, I think.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services