Re: Re: Re: binary data - Mailing list pgsql-sql

From Tom Lane
Subject Re: Re: Re: binary data
Date
Msg-id 4217.993224417@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: Re: binary data  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: Re: Re: binary data
List pgsql-sql
Karel Zak <zakkr@zf.jcu.cz> writes:
> On Fri, Jun 22, 2001 at 10:22:32AM -0400, Tom Lane wrote:
>> He did say the rules for escaping things are tricky ;-).

>  And what use some better encoding if you have a lot of binary chars 
> in data. For example base64, that code 2 chars to 3 instead \\000 
> that encode 1 char to 4. 

Yeah, it's pretty messy.  Perhaps we could offer a couple of conversion
functions that convert bytea to or from base64 or other popular
encodings.  bytea is pretty impoverished --- it hasn't received the
attention it deserves.
        regards, tom lane


pgsql-sql by date:

Previous
From: Alex Pilosov
Date:
Subject: Re: View performance question
Next
From: "J.Fernando Moyano"
Date:
Subject: cache lookup failed ???? What is it ???!!!