From: | "Joe Conway" <joseph(dot)conway(at)home(dot)com> |
---|---|
To: | "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Marko Kreen" <marko(at)l-t(dot)ee> |
Cc: | "Peter Eisentraut" <peter_e(at)gmx(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Bytea string operator support |
Date: | 2001-09-06 18:08:26 |
Message-ID: | 012701c136fe$ece22040$0705a8c0@jecw2k1 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
> > > Here's a patch for bytea string functions. As discussed:
> > >
> > > text encode(bytea, 'escape')
> > > bytea decode(text, 'escape')
> >
> > Why are you using \xxx encoding there? As the 'escape' encoding
> > is supposed to be 'minimalistic' as it escapes only 2
> > problematic values, then IMHO it would be better to use
> > \0 and \\ as escapes - takes less room.
>
> Agreed, and I have documented this in the SGML pages. Knowing this,
> bytea becomes a much easier format to use.
No problem -- I kind of like the octal style better, but I can see your
point. I'll wait for awhile for more comments, and then send in a new patch.
-- Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Matt Block | 2001-09-06 18:33:24 | Re: Bug in createlang? |
Previous Message | Marc G. Fournier | 2001-09-06 17:52:39 | Some changes to CVSup and AnonCVS access ... |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-09-06 18:30:49 | Re: JDBC patch procedures (Re: [PATCHES] Patch for jdbc2 ResultSet.java) |
Previous Message | Bruce Momjian | 2001-09-06 17:43:53 | Re: Bytea string operator support |