BUG #1056: ecpg ignores WHENEVER NOT FOUND

Поиск
Список
Период
Сортировка
От PostgreSQL Bugs List
Тема BUG #1056: ecpg ignores WHENEVER NOT FOUND
Дата
Msg-id 20040120204430.C2470CF4C2F@www.postgresql.com
обсуждение исходный текст
Ответы Re: BUG #1056: ecpg ignores WHENEVER NOT FOUND
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      1056
Logged by:          Wes

Email address:      wespgc@syntegra.com

PostgreSQL version: 7.4

Operating system:   Redhat Linux 7.3

Description:        ecpg ignores WHENEVER NOT FOUND

Details:

This problem occurs with both 7.4 and 7.4.1.  The problem does not occur at
7.3.4.

I have a statement in my program such as:

 EXEC SQL WHENEVER NOT FOUND GOTO nextvalError;

The C code generated by ecpg at 7.4 and 7.4.1 is missing the statement:

 if (sqlca.sqlcode == ECPG_NOT_FOUND) goto nextvalError;

My workaround is to manually insert this code in my program.

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

Предыдущее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1055: no keys in inherited table with primary key when inserting into inheriting table
Следующее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1057: psql sometimes does not flush its output