[HACKERS] bytea_output output of base64 - Mailing list pgsql-hackers

From Bruce Momjian
Subject [HACKERS] bytea_output output of base64
Date
Msg-id 20170223200516.GA16504@momjian.us
Whole thread Raw
Responses Re: [HACKERS] bytea_output output of base64
List 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@momjian.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 +



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [HACKERS] Other formats in pset like markdown, rst, mediawiki
Next
From: Simon Riggs
Date:
Subject: Re: [HACKERS] Measuring replay lag