Re: Number of deleted rows in Python module

From: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>
To: Dorian Tessore <d(dot)tessore(at)louise(dot)it>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Number of deleted rows in Python module
Date: 2002-10-06 11:18:28
Message-ID: 20021006111829.5B2F31C69@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On October 2, 2002 08:59 am, Dorian Tessore wrote:
> Hi every body,
> It's the first time that I post to this list, so please excuse me if the
> question is not in the right list.
>
>
> My SW: Python 1.5.2; pgsql/v7.1.3; RedHat 7.2
>
> My question:
> Is there a way of knowing how many rows have been deleted or updated when
> sending a query from a python script to pgsql.

Not yet. I would like to make this available using PQcmdTuples but I can
only do so in the classic (import pg) module as I am not sure that the DB-API
interface (import pgdb) even allows for this to be returned.

--
D'Arcy J.M. Cain <darcy(at){druid|vex}.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message victor3.lopes 2002-10-07 14:38:55 TR: interface PERL and return results
Previous Message Tom Lane 2002-10-06 01:08:28 Re: [INTERFACES] LISTEN/NOTIFY