Re: ecpg 'set' failure using host vars - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: ecpg 'set' failure using host vars
Date
Msg-id 20080819103118.GA23760@feivel.credativ.de
Whole thread Raw
In response to ecpg 'set' failure using host vars  (Bosco Rama <postgres@boscorama.com>)
Responses Re: ecpg 'set' failure using host vars  (Bosco Rama <postgres@boscorama.com>)
List pgsql-interfaces
On Fri, Aug 15, 2008 at 08:47:49PM -0700, Bosco Rama wrote:
>   exec sql char *sm;
>   ...
>   sm = "myschema";    // This may not always be constant
>   ...
>   exec sql set search_path to :sm;

Could you please try the attached patch and tell me whether it works for you? I will then check this in into 8.3 so
thatthe next stable release works again as it should. 

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!

Attachment

pgsql-interfaces by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ecpg 'set' failure using host vars
Next
From: "Masis, Alexander \(US SSA\)"
Date:
Subject: Where can I get the LIBPQ++