[PATCH] by request: base64 for bytea - Mailing list pgsql-hackers

From Alex Pilosov
Subject [PATCH] by request: base64 for bytea
Date
Msg-id Pine.BSO.4.10.10106221721220.9542-200000@spider.pilosoft.com
Whole thread Raw
Responses Re: [PATCH] by request: base64 for bytea  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [PATCH] by request: base64 for bytea  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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      |

pgsql-hackers by date:

Previous
From: "Bernardo Pons"
Date:
Subject: Extracting metadata about attributes from catalog
Next
From: Alex Pilosov
Date:
Subject: Re: Extracting metadata about attributes from catalog