From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
---|---|
To: | Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, David Fetter <david(at)fetter(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: bytea_output output of base64 |
Date: | 2017-02-24 08:18:06 |
Message-ID: | alpine.DEB.2.20.1702240906540.21598@lancre |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> It undoubtedly would make pg_dump smaller, though I'm not sure how much
> that's worth since if you care at all about that you'll gzip it.
>
> But, the other thing it might do is speed up COPY, especially on input. Some
> performance tests of that might be interesting.
For what it is worth:
Ascii85 (aka Base85) is used in PDF by Adobe, with a prefix "<~" and a
suffix "~>". It codes 4 bytes as 5 ascii characters, i.e. a 25% loss.
There is also Z85 which avoids some special characters: backslash, single
quote, double quote.
--
Fabien.
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2017-02-24 08:30:39 | Re: UPDATE of partition key |
Previous Message | David G. Johnston | 2017-02-24 07:48:27 | Re: UPDATE of partition key |