BUG #3961: ecpg lacks SQLSTATE macro definition

Поиск
Список
Период
Сортировка
От Christoph Dalitz
Тема BUG #3961: ecpg lacks SQLSTATE macro definition
Дата
Msg-id 200802141109.m1EB9BIh099592@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #3961: ecpg lacks SQLSTATE macro definition  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      3961
Logged by:          Christoph Dalitz
Email address:      christoph.dalitz@hs-niederrhein.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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Anto"
Дата:
Сообщение: BUG #3960: initdb.log
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #3960: initdb.log