Re: number of affected rows in pgtcl - Mailing list pgsql-general

From Christian Traber
Subject Re: number of affected rows in pgtcl
Date
Msg-id 3DB8D86F.8090607@traber-net.de
Whole thread Raw
In response to number of affected rows in pgtcl  (Christian Traber <christian@traber-net.de>)
Responses Re: number of affected rows in pgtcl
List pgsql-general
>
>
>>Is there a way to get the number of affected rows of a non select statement
>>from libpgtcl?
>>
>>
>
>Doesn't pg_result provide a way to get that?
>

No, pg_result -numTuples only returns the number of found rows of a
select statement.
On update, delete -numTuples returns 0.

Regards,
Christian

Attachment

pgsql-general by date:

Previous
From: Medi Montaseri
Date:
Subject: Re: Error on import
Next
From: David Griffiths
Date:
Subject: Re: A way to link oracle DB to postgres DB for data transfer