| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | bytea_output output of base64 |
| Date: | 2017-02-23 20:05:16 |
| Message-ID: | 20170223200516.GA16504@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Currently bytea_output supports values of 'hex' (the default) and
'escape' (octal). 'hex' uses two characters per byte, while escape uses
three (ignoring the prefix overhead of \x or \[0-9].)
It is my understanding that base64 uses 1.37 characters per byte:
https://en.wikipedia.org/wiki/Base64
Is there a reason we don't support base64 as a bytea_output output
option, except that no one has implemented it?
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Simon Riggs | 2017-02-23 20:05:53 | Re: Measuring replay lag |
| Previous Message | Pavel Stehule | 2017-02-23 19:57:32 | Re: Other formats in pset like markdown, rst, mediawiki |