pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bert Horvath <bert.horvath@fh-erfurt.de>
To: pgsql-interfaces@postgresql.org
Subject: Re: C-Interface Amound of Tupels in Result after COPYout
Date: Thu, 15 Nov 2007 16:36:10 +0100
Message-ID: <473C676A.2070805@fh-erfurt.de> (raw)
In-Reply-To: <2564.1195140420@sss.pgh.pa.us>
References: <473C3851.6060300@fh-erfurt.de>
	<2564.1195140420@sss.pgh.pa.us>

i have allready tryed out this it allways returns 0...

Tom Lane schrieb:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
> 

-- 
Bert Horvath
MSc Angewandte Informatik
FB Gebäudetechnik und Informatik
wissenschaftlicher Mitarbeiter, Projekt MoSDeP

Fachhochschule Erfurt - University of Applied Sciences
Altonaer Str. 25, D-99085 Erfurt (Haus 10, Raum 10.01.09)
Tel: +49 361 / 6700 - 393
Fax: +49 361 / 6700 - 8960
E-Mail: bert.horvath@fh-erfurt.de




view thread (5+ messages)  latest in thread

Message-ID: <473C676A.2070805@fh-erfurt.de>
Permalink:  ../473C676A.2070805@fh-erfurt.de/
Also on:    postgresql.org/message-id/473C676A.2070805@fh-erfurt.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: bert.horvath@fh-erfurt.de
  Subject: Re: C-Interface Amound of Tupels in Result after COPYout
  In-Reply-To: <473C676A.2070805@fh-erfurt.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox