Re: PQexecParams - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: PQexecParams
Date
Msg-id 20050315152256.GC6564@dcc.uchile.cl
Whole thread Raw
In response to PQexecParams  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: PQexecParams
List pgsql-hackers
On Tue, Mar 15, 2005 at 02:02:58PM +0800, Christopher Kings-Lynne wrote:
> Will PQexecParams automatically escape bytea data as it goes in, or must 
> one run it through PQescapeBytea first?

Neither.  The data does not need escaping (assuming you pass it as a
parameter, of course.)

-- 
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"Los dioses no protegen a los insensatos.  Éstos reciben protección de
otros insensatos mejor dotados" (Luis Wu, Mundo Anillo)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: PHP stuff
Next
From: Shachar Shemesh
Date:
Subject: Re: type unknown - how important is it?