Why is 0 returned in PQcmdTuples? - Mailing list pgsql-hackers

From Boszormenyi Zoltan
Subject Why is 0 returned in PQcmdTuples?
Date
Msg-id 4B0D1EFA.4060406@cybertec.at
Whole thread Raw
List pgsql-hackers
Hi,

I know it's documented that CREATE TABLE ... AS SELECT ...
and SELECT ... INTO TEMP ... returns "0" as number of
affected tuples via PQcmdTuples().

Why?
How much work would it be to pass this info up?

The question arose because in ECPG, such statements
like the above returns 0 in sqlca.sqlerrd[2], but Informix
returns the number of tuples copied.

Best regards,
Zoltán Böszörményi

-- 
Bible has answers for everything. Proof:
"But let your communication be, Yea, yea; Nay, nay: for whatsoever is more
than these cometh of evil." (Matthew 5:37) - basics of digital technology.
"May your kingdom come" - superficial description of plate tectonics

----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
http://www.postgresql.at/



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Hot Standby remaining issues
Next
From: Simon Riggs
Date:
Subject: Re: Hot Standby remaining issues