Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id BD8A5475CED for ; Sun, 6 Oct 2002 07:18:25 -0400 (EDT) Received: from druid.net (druid.net [216.126.72.98]) by postgresql.org (Postfix) with ESMTP id 4D4A7475921 for ; Sun, 6 Oct 2002 07:18:24 -0400 (EDT) Received: by druid.net (Postfix, from userid 1000) id 5B2F31C69; Sun, 6 Oct 2002 07:18:29 -0400 (EDT) Content-Type: text/plain; charset="iso-8859-15" From: "D'Arcy J.M. Cain" To: Dorian Tessore Subject: Re: Number of deleted rows in Python module Date: Sun, 6 Oct 2002 07:18:28 -0400 X-Mailer: KMail [version 1.3.2] References: <20021002125847.051F94758F1@postgresql.org> In-Reply-To: <20021002125847.051F94758F1@postgresql.org> Cc: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20021006111829.5B2F31C69@druid.net> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/14 X-Sequence-Number: 3176 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 | 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.