Re: PQescapeBytea* version for parameters - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PQescapeBytea* version for parameters
Date
Msg-id 22155.1183945601@sss.pgh.pa.us
Whole thread Raw
In response to PQescapeBytea* version for parameters  (Gregory Stark <stark@enterprisedb.com>)
Responses Re: PQescapeBytea* version for parameters
Re: PQescapeBytea* version for parameters
List pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> Do we want something like this which provides a PQescapeByteaParam for
> escaping bytea strings before passing them as text-mode parameters in
> PQexecParam?

Seems a lot easier and more efficient to just pass out-of-line bytea
parameters as binary mode.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [GENERAL] Unable to get postgres running after long time no vacuum
Next
From: Gregory Stark
Date:
Subject: Re: Checkpoints and buffers that are hint-bit-dirty