Re: [INTERFACES] eekk tuples ok when there not!

Поиск
Список
Период
Сортировка
От Ken J. Wright
Тема Re: [INTERFACES] eekk tuples ok when there not!
Дата
Msg-id 3.0.32.19990820085859.00982350@ren.cncware.com
обсуждение исходный текст
Список pgsql-interfaces
At 15:20 08/20/1999 +0000, StOo wrote:
>
>postgres 6-5-1 on linux
>
>after calling PgConnection::Exec(const char *query);
>it returns PGRES_TUPLES_OK even when there is nothing in the table!
>has anyone else noticed this?? or am i mad again =)

Yes, and yes ;-). An empty result set does not constitute an error. It's
your job to check ntuples. Although, coming from lot's of years with
Paradox, I do sometimes miss the 100+ possible return codes.

Ken



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

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [INTERFACES] eekk tuples ok when there not!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] eekk tuples ok when there not!