Re: PQexecParams - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: PQexecParams
Date
Msg-id 4237C5EF.3020603@familyhealth.com.au
Whole thread Raw
In response to Re: PQexecParams  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
>>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.)

Even binary data?  ie. You could upload a binary string straight into 
PQexecParams with no octal conversion?

Chris


pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: PHP stuff
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-hackers-win32] snprintf causes regression tests