Re: SQLSTATE not updated in ecpg program.

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Ken Jennings <ken_jennings(at)bellsouth(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: SQLSTATE not updated in ecpg program.
Date: 2006-12-28 12:34:34
Message-ID: 20061228123434.GA29626@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Wed, Dec 27, 2006 at 11:26:09PM -0500, Ken Jennings wrote:
> A simple test program compiled with ecpg worked fine for 8.1.5
> which can be found here: http://www.kenjennings.cc/st/prg/ux/test_pgc.tar.gz
> The program does simple error checking using sqlca.sqlstate which the postgres
> docs (31.11.2) suggest is preferable to sqlca.sqlcode.

Could you please upload a tarball that contains the sources and the
makefile and not the RCS archive which this one seems to be? I will have
a look at it asap.

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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ken Jennings 2006-12-28 13:07:09 Re: SQLSTATE not updated in ecpg program.
Previous Message Ken Jennings 2006-12-28 04:26:09 SQLSTATE not updated in ecpg program.