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

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 (view raw or flat)
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

pgsql-bugs by date

Next:From: Magnus HaganderDate: 2008-02-14 11:42:44
Subject: Re: BUG #3960: initdb.log
Previous:From: AntoDate: 2008-02-14 10:53:49
Subject: BUG #3960: initdb.log

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