Why is 0 returned in PQcmdTuples?

Поиск
Список
Период
Сортировка
От Boszormenyi Zoltan
Тема Why is 0 returned in PQcmdTuples?
Дата
Msg-id 4B0D1EFA.4060406@cybertec.at
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Hot Standby remaining issues
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Hot Standby remaining issues