Skip site navigation (1) Skip section navigation (2)

pgsql/src backend/utils/adt/encode.c backend/u ...

From: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/utils/adt/encode.c backend/u ...
Date: 2001-09-14 17:46:41
Message-ID: 200109141746.f8EHkfS31385@hub.org (view raw or flat)
Thread:
Lists: pgsql-committers
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	scrappy(at)hub(dot)org	01/09/14 13:46:41

Modified files:
	src/backend/utils/adt: encode.c like.c oracle_compat.c 
	                       selfuncs.c varlena.c 
	src/include/catalog: catversion.h pg_operator.h pg_proc.h 
	src/include/utils: builtins.h 
	src/interfaces/libpq: fe-exec.c libpq-fe.h 

Log message:
	> 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


pgsql-committers by date

Next:From: Marc G. FournierDate: 2001-09-14 20:37:55
Subject: pgsql/doc/src Makefile sgml/stylesheet.dsl sgm ...
Previous:From: Marc G. FournierDate: 2001-09-14 17:40:42
Subject: pgsql/src/interfaces/jdbc/org/postgresql/jdbc2 ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group