Re: BUG #5969: ecpg can't see sqlca

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Daniel Lyons <fusion(at)storytotell(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5969: ecpg can't see sqlca
Date: 2011-04-09 15:52:41
Message-ID: 20110409155241.GA6640@hyperion.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Fri, Apr 08, 2011 at 10:47:32PM +0000, Daniel Lyons wrote:
> Under the current FreeBSD and the current PostgreSQL, ecpg-processed C
> programs don't see the sqlca global variable. This wreaks havoc with error
> handling. For example:

Could you please send me the precompiled version of your test case? Do you have THREAD_SAFETY compiled into PostgreSQL?

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Noah Misch 2011-04-10 10:36:36 Re: BUG #5856: pg_attribute.attinhcount is not correct.
Previous Message Brendan Jurd 2011-04-09 13:20:59 Re: Failed assert ((data - start) == data_size) in heaptuple.c