Re: AW: Re: [INTERFACES] USE OF CURSORS IN ECPG

Поиск
Список
Период
Сортировка
От Christof Petig
Тема Re: AW: Re: [INTERFACES] USE OF CURSORS IN ECPG
Дата
Msg-id 3A0BEEDD.530A3557@wtal.de
обсуждение исходный текст
Ответ на AW: Re: [INTERFACES] USE OF CURSORS IN ECPG  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список pgsql-hackers
Zeugswetter Andreas SB wrote:

> > PS: You might consider applying the patch for (update where > not_found) -> 100
>
> No, this is not allowed. sqlcode is supposed to be 0 in above case.
> You need to explicitly check for the number of rows updated in your
> program if needed.
>
> Andreas

According to my reading of the SQL standard this is the only compliant behaviour. Do
you know better?

Christof




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

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: Re: [INTERFACES] USE OF CURSORS IN ECPG
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Must a C state transition function use palloc on the returned value?