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

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
Bert Horvath <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.