From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>, Hugh Mandeville <hughmandeville(at)hotmail(dot)com>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Re: Re: binary data |
Date: | 2001-06-23 14:02:45 |
Message-ID: | 200106231402.f5NE2jS03849@candle.pha.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.
bytea is binary compatible with text/varchar()/char(), right? It stores
the same format.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2001-06-23 16:39:07 | RE: firehouse |
Previous Message | Jackie Siu | 2001-06-23 03:31:37 | day difference |