[PATCH] by request: base64 for bytea

From: Alex Pilosov <alex(at)pilosoft(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] by request: base64 for bytea
Date: 2001-06-22 21:26:56
Message-ID: Pine.BSO.4.10.10106221721220.9542-200000@spider.pilosoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached is a patch (including documentation this time :) containing two
functions, base64_encode(bytea) and base64_decode(text) with obvious
functionality.

Code was initially taken from public-domain base64.c by John Walker but
much simplified (such as, breaking up long string into multiple lines is
not done, EBCDIC support removed).

--
Alex Pilosov | http://www.acedsl.com/home.html
CTO - Acecape, Inc. | AceDSL:The best ADSL in the world
325 W 38 St. Suite 1005 | (Stealth Marketing Works! :)
New York, NY 10018 |

Attachment Content-Type Size
base64bytea.patch text/plain 8.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-06-22 21:37:23 Re: plperl doc
Previous Message Bruce Momjian 2001-06-22 21:15:55 Re: Multiple Indexing, performance impact