Re: [INTERFACES] ecpg 'set' failure using host vars - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [INTERFACES] ecpg 'set' failure using host vars
Date
Msg-id 14940.1218902460@sss.pgh.pa.us
Whole thread Raw
In response to Re: [INTERFACES] ecpg 'set' failure using host vars  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Michael Meskes <meskes@postgresql.org> writes:
> Without checking the sources it seems as if PQexecParams is not able to handle a parameter in a set command. Can
anyoneconfirm this?
 

The backend only supports parameters in plannable statements, ie
SELECT/INSERT/UPDATE/DELETE.  (Possibly DECLARE CURSOR, I'm too
lazy to check.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: proposal sql: labeled function params
Next
From: Magnus Hagander
Date:
Subject: Re: Parsing of pg_hba.conf and authentication inconsistencies