Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id EA36D2E2E71 for ; Thu, 15 Nov 2007 08:15:18 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 02642-09 for ; Thu, 15 Nov 2007 08:15:15 -0400 (AST) Received: from diana.fh-erfurt.de (diana.fh-erfurt.de [193.174.232.67]) by postgresql.org (Postfix) with SMTP id AF0E02E2DBC for ; Thu, 15 Nov 2007 08:15:15 -0400 (AST) Received: from clio.fh-erfurt.de(193.174.232.65) by diana.fh-erfurt.de via smtp id 3b9f_73bf7952_9376_11dc_9a3a_001143366b7e; Thu, 15 Nov 2007 13:29:46 +0100 (CET) Received: from [195.37.147.134] by clio.fh-erfurt.de (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTPA id <0JRJ007T4RAUA630@clio.fh-erfurt.de> for pgsql-interfaces@postgresql.org; Thu, 15 Nov 2007 13:13:43 +0100 (CET) Date: Thu, 15 Nov 2007 13:15:13 +0100 From: Bert Horvath Subject: C-Interface Amound of Tupels in Result after COPYout To: pgsql-interfaces@postgresql.org Reply-to: bert.horvath@fh-erfurt.de Message-id: <473C3851.6060300@fh-erfurt.de> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-15; format=flowed Content-transfer-encoding: QUOTED-PRINTABLE User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.556 tagged_above=0 required=5 tests=AWL=0.555, BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200711/6 X-Sequence-Number: 6650 Hi, do i have any chance to get the amount of tupels in the result set af= ter=20 executing a query with a copy command? Its not a problem to count = the=20 columns with PQnFields(*conn,*result) but there is no documentation f= =FCr=20 PQnTupels(*conn,*result) and it does not work. greetings beho