Re: Bytea string operator support

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Joe Conway <joseph(dot)conway(at)home(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Bytea string operator support
Date: 2001-09-12 03:30:34
Message-ID: 200109120330.f8C3UYQ23635@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

> > Here's a revised patch. Changes:
> >
> > 1. Now outputs '\\' instead of '\134' when using encode(bytea, 'escape')
> > Note that I ended up leaving \0 as \000 so that there are no ambiguities
> > when decoding something like, for example, \0123.
> >
> > 2. Fixed bug in byteain which allowed input values which were not valid
> > octals (e.g. \789), to be parsed as if they were octals.
> >
> > Joe
> >
>
> Here's rev 2 of the bytea string support patch. Changes:
>
> 1. Added missing declaration for MatchBytea function
> 2. Added PQescapeBytea to fe-exec.c
> 3. Applies cleanly on cvs tip from this afternoon
>
> I'm hoping that someone can review/approve/apply this before beta starts, so
> I guess I'd vote (not that it counts for much) to delay beta a few days :-)
>
> -- Joe
>
>

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

--
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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-09-12 04:01:52 Re: [HACKERS] to_char and Roman Numeral (RN) bug
Previous Message Bruce Momjian 2001-09-12 02:56:32 Re: Add relid to TD in plpython