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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-interfaces by date

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