Bert Horvath <bert(dot)horvath(at)fh-erfurt(dot)de> writes: > Tom Lane schrieb: >> PQcmdTuples. PQnTuples is for the number of rows actually returned to >> the client by a SELECT. > i have allready tryed out this it allways returns 0... Try a more recent release. [ checks code... ] Looks like the count was added to COPY's command status in 8.2. regards, tom lane