From: Michael Meskes <meskes@postgresql.org>
To: Daniel Lyons <fusion@storytotell.org>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5969: ecpg can't see sqlca
Date: Sat, 9 Apr 2011 17:52:41 +0200
Message-ID: <20110409155241.GA6640@hyperion.credativ.lan> (raw)
In-Reply-To: <201104082247.p38MlWot030910@wwwmaster.postgresql.org>
References: <201104082247.p38MlWot030910@wwwmaster.postgresql.org>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: meskes@postgresql.org, fusion@storytotell.org
Subject: Re: BUG #5969: ecpg can't see sqlca
In-Reply-To: <20110409155241.GA6640@hyperion.credativ.lan>
References: <201104082247.p38MlWot030910@wwwmaster.postgresql.org> <20110409155241.GA6640@hyperion.credativ.lan>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox