Re: Re: Re: binary data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Hugh Mandeville <hughmandeville(at)hotmail(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Re: Re: binary data
Date: 2001-06-22 15:40:17
Message-ID: 4217.993224417@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Karel Zak <zakkr(at)zf(dot)jcu(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2001-06-22 16:08:25 Re: Difference between insert a tuple in a table by function and by datasheet
Previous Message Karel Zak 2001-06-22 15:35:37 Re: Re: Re: binary data