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

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 (view raw, whole thread or download thread mbox)
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 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

pgsql-bugs by date

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

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