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

From Bruce Momjian
Subject Re: [PATCH] by request: base64 for bytea
Date
Msg-id 200106230155.f5N1tkN00959@candle.pha.pa.us
Whole thread Raw
In response to [PATCH] by request: base64 for bytea  (Alex Pilosov <alex@pilosoft.com>)
Responses Re: [PATCH] by request: base64 for bytea  (Marko Kreen <marko@l-t.ee>)
List pgsql-hackers
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> 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      |

Content-Description: 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
> http://www.postgresql.org/users-lounge/docs/faq.html

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: [GENERAL] Multiple Indexing, performance impact
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Re: Setuid functions