Skip site navigation (1) Skip section navigation (2)

Re: ecpg 'set' failure using host vars

From: Bosco Rama <postgres(at)boscorama(dot)com>
To:
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ecpg 'set' failure using host vars
Date: 2008-08-16 17:16:56
Message-ID: 48A70B88.4050800@boscorama.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces

Tom Lane wrote:
> Michael Meskes <meskes(at)postgresql(dot)org> writes:
>> Without checking the sources it seems as if PQexecParams is not able to handle a parameter in a set command. Can anyone confirm 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
> 

In response to

pgsql-hackers by date

Next:From: Bosco RamaDate: 2008-08-16 17:20:42
Subject: Re: ecpg 'set' failure using host vars
Previous:From: Magnus HaganderDate: 2008-08-16 16:22:16
Subject: Re: Parsing of pg_hba.conf and authentication inconsistencies

pgsql-interfaces by date

Next:From: Bosco RamaDate: 2008-08-16 17:20:42
Subject: Re: ecpg 'set' failure using host vars
Previous:From: Tom LaneDate: 2008-08-16 16:01:00
Subject: Re: ecpg 'set' failure using host vars

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group