Re: Postgresql 9.0.8 - ECPG - COPY FROM returning COUNT

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Postgresql 9.0.8 - ECPG - COPY FROM returning COUNT
Дата
Msg-id 20130525164437.GA7802@feivel.credativ.lan
обсуждение исходный текст
Ответ на Postgresql 9.0.8 - ECPG - COPY FROM returning COUNT  (Rene Grün <rene.gruen@cslab.de>)
Список pgsql-interfaces
On Fri, May 24, 2013 at 04:42:21PM +0200, Rene Grün wrote:
> In psql this is retuned as a text 'COPY XXX'
> 
> How can I get this in ECPG?

sqlca.sqlerrd[2] is supposed to carry the "number of rows processed after an
INSERT, UPDATE or DELETE statement". Should work in your case, too.

> Mit freundlichen Grüßen aus Krefeld,
> With best regards from Krefeld,

Best regards from Moenchengladbach. :)

Explanation for the non-locals, it's like 10 miles between the two cities.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Rene Grün
Дата:
Сообщение: Postgresql 9.0.8 - ECPG - COPY FROM returning COUNT
Следующее
От: Rene Grün
Дата:
Сообщение: Re: Postgresql 9.0.8 - ECPG - COPY FROM returning COUNT