BUG #3961: ecpg lacks SQLSTATE macro definition

From: "Christoph Dalitz" <christoph(dot)dalitz(at)hs-niederrhein(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #3961: ecpg lacks SQLSTATE macro definition
Date: 2008-02-14 11:09:11
Message-ID: 200802141109.m1EB9BIh099592@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 3961
Logged by: Christoph Dalitz
Email address: christoph(dot)dalitz(at)hs-niederrhein(dot)de
PostgreSQL version: 8.2.6
Operating system: Linux
Description: ecpg lacks SQLSTATE macro definition
Details:

While ecpg defines the (deprecated) SQLCODE, it does not define the macro
SQLSTATE, even though the documentation say, that this latter macro should
be used and which values it can take.

Please add a macro definition

#define SQLSTATE sqlca.sqlstate

in ecpglib.h like for SQLSTATE to be compatible with the SQL standard.

Thanks,

Christoph

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2008-02-14 11:42:44 Re: BUG #3960: initdb.log
Previous Message Anto 2008-02-14 10:53:49 BUG #3960: initdb.log