Re: PQexecParams

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PQexecParams
Date: 2005-03-15 15:22:56
Message-ID: 20050315152256.GC6564@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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[(at)]dcc(dot)uchile(dot)cl>)
"Los dioses no protegen a los insensatos. Éstos reciben protección de
otros insensatos mejor dotados" (Luis Wu, Mundo Anillo)

In response to

  • PQexecParams at 2005-03-15 06:02:58 from Christopher Kings-Lynne

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shachar Shemesh 2005-03-15 15:40:33 Re: type unknown - how important is it?
Previous Message Tom Lane 2005-03-15 15:13:46 Re: PHP stuff