Re: PQescapeByteaConn and the new hex encoding

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matteo Beccati <php(at)beccati(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PQescapeByteaConn and the new hex encoding
Date: 2009-12-25 17:54:26
Message-ID: 7336.1261763666@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Matteo Beccati <php(at)beccati(dot)com> writes:
> However, before taking a look at the actual code and understanding its
> behaviour, I tried using "SET bytea_output = 'escape'" and I was
> expecting PQescapeByteaConn to honour it.

Why? PQescapeByteaConn's charter is to produce something that will work
on the given connection, no more and no less.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-12-25 18:03:05 Re: info about patch: using parametrised query in psql
Previous Message Andrew Dunstan 2009-12-25 17:54:13 Re: Initial refactoring of plperl.c - rebased [PATCH]