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 (view raw or flat )
Thread:
2001-08-28 09:07:32 from Joerg Hessdoerfer <Joerg(dot)Hessdoerfer(at)sea-gmbh(dot)com>
2001-08-28 09:55:28 from Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
2001-08-29 01:58:12 from Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
2001-08-29 02:22:22 from Lincoln Yeoh <lyeoh(at)pop(dot)jaring(dot)my>
2001-09-04 00:16:52 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2001-09-04 00:48:22 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2001-09-04 02:14:50 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2001-09-04 03:25:29 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-04 04:12:35 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2001-09-04 04:55:23 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-04 13:50:49 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2001-09-04 15:46:44 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-04 16:01:11 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2001-09-04 17:13:00 from Larry Rosenman <ler(at)lerctr(dot)org>
2001-09-04 22:58:21 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2001-09-04 22:56:06 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2001-09-04 23:09:17 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-05 20:34:06 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-06 17:39:49 from Marko Kreen <marko(at)l-t(dot)ee>
2001-09-06 17:43:53 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2001-09-06 18:08:26 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-07 06:47:21 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-04 16:44:49 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2001-09-04 17:33:26 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2001-09-04 17:34:37 from Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
2001-09-04 04:45:05 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2001-09-04 10:25:48 from Peter Eisentraut <peter_e(at)gmx(dot)net>
2001-09-04 15:37:35 from "Joe Conway" <joseph(dot)conway(at)home(dot)com>
2001-09-04 08:11:45 from Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
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
In response to
Responses
pgsql-hackers by date
Next :From: Matt BlockDate: 2001-09-06 18:33:24
Subject : Re: Bug in createlang?
Previous :From : Marc G. FournierDate : 2001-09-06 17:52:39
Subject : Some changes to CVSup and AnonCVS access ...
pgsql-patches by date
Next :From: Tom LaneDate: 2001-09-06 18:30:49
Subject : Re: JDBC patch procedures (Re: [PATCHES] Patch for jdbc2 ResultSet.java)
Previous :From : Bruce MomjianDate : 2001-09-06 17:43:53
Subject : Re: Bytea string operator support