Re: [INTERFACES] What to use to get number of tuples in a query

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: [INTERFACES] What to use to get number of tuples in a query
Дата
Msg-id 19990523100015.B250@gmx.net
обсуждение исходный текст
Ответ на What to use to get number of tuples in a query  (Hitesh Patel <hitesh@presys.com>)
Список pgsql-interfaces
On Fri, May 21, 1999 at 02:51:10PM -0700, Hitesh Patel wrote:
> What should I use to get the number of tuples returned by a PQexec()? 
> PQntuples seems to be doing the job but i'm not sure if that is the
> right thing to use.

At least that's the command I use with ecpg. :-)

However, if you're executing commands that do not return tuples you have to
use PQcmdTuples().

Michael
-- 
Michael Meskes                         | Go SF 49ers!
Th.-Heuss-Str. 61, D-41812 Erkelenz    | Go Rhein Fire!
Tel.: (+49) 2431/72651                 | Use Debian GNU/Linux!
Email: Michael.Meskes@gmx.net          | Use PostgreSQL!


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

Предыдущее
От:
Дата:
Сообщение: Undeliverable Message
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] ECPG feature