Use new cstring/text conversion functions in some additional places.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 45173ae24e308061c008f77996f3edbebe0e4dc2
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-05-04T16:42:41Z
Releases: 8.4.0
Use new cstring/text conversion functions in some additional places.
These changes assume that the varchar and xml data types are represented
the same as text.  (I did not, however, accept the portions of the proposed
patch that wanted to assume bytea is the same as text --- tgl.)

Brendan Jurd

Files

PathChange+/−
contrib/pgcrypto/pgp-pgsql.c modified +3 −6
contrib/xml2/xpath.c modified +3 −18
contrib/xml2/xslt_proc.c modified +4 −13
src/backend/utils/adt/varchar.c modified +3 −7
src/backend/utils/adt/xml.c modified +11 −55