From: D'Arcy J.M. Cain <darcy@druid.net>
To: Dorian Tessore <d.tessore@louise.it>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Number of deleted rows in Python module
Date: Sun, 6 Oct 2002 07:18:28 -0400
Message-ID: <20021006111829.5B2F31C69@druid.net> (raw)
In-Reply-To: <20021002125847.051F94758F1@postgresql.org>
References: <20021002125847.051F94758F1@postgresql.org>
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@{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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: darcy@druid.net, d.tessore@louise.it
Subject: Re: Number of deleted rows in Python module
In-Reply-To: <20021006111829.5B2F31C69@druid.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox