Re: number of affected rows in pgtcl

From: Christian Traber <christian(at)traber-net(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: number of affected rows in pgtcl
Date: 2002-10-25 05:36:47
Message-ID: 3DB8D86F.8090607@traber-net.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Griffiths 2002-10-25 05:42:21 Re: A way to link oracle DB to postgres DB for data transfer
Previous Message Medi Montaseri 2002-10-25 05:16:36 Re: Error on import