Re: C-Interface Amound of Tupels in Result after COPYout

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C-Interface Amound of Tupels in Result after COPYout
Дата
Msg-id 2564.1195140420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на C-Interface Amound of Tupels in Result after COPYout  (Bert Horvath <bert.horvath@fh-erfurt.de>)
Ответы Re: C-Interface Amound of Tupels in Result after COPYout  (Bert Horvath <bert.horvath@fh-erfurt.de>)
Список pgsql-interfaces
Bert Horvath <bert.horvath@fh-erfurt.de> writes:
> do i have any chance to get the amount of tupels in the result set after 
>    executing a query with a copy command? Its not a problem to count the 
> columns with PQnFields(*conn,*result) but there is no documentation f�r 
> PQnTupels(*conn,*result) and it does not work.

PQcmdTuples.  PQnTuples is for the number of rows actually returned to
the client by a SELECT.
        regards, tom lane


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

Предыдущее
От: Bert Horvath
Дата:
Сообщение: C-Interface Amound of Tupels in Result after COPYout
Следующее
От: Bert Horvath
Дата:
Сообщение: Re: C-Interface Amound of Tupels in Result after COPYout