> Here's a revised patch. Changes:
authorBruce Momjian <bruce@momjian.us>
Fri, 14 Sep 2001 17:46:40 +0000 (17:46 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 14 Sep 2001 17:46:40 +0000 (17:46 +0000)
commitc1fbf06654aca97a109a2346d182158e8f14ab01
treec0e4e87bb80d3eca6a8dd5e6194dac791b630a5d
parente8d5b8d2901ddf1b4518ec0eb450028678f2082e
> 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 Conway
src/backend/utils/adt/encode.c
src/backend/utils/adt/like.c
src/backend/utils/adt/oracle_compat.c
src/backend/utils/adt/selfuncs.c
src/backend/utils/adt/varlena.c
src/include/catalog/catversion.h
src/include/catalog/pg_operator.h
src/include/catalog/pg_proc.h
src/include/utils/builtins.h
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/libpq-fe.h