Retrieve Number of rows to be DELETEd - Mailing list pgsql-general

From Lee Kindness
Subject Retrieve Number of rows to be DELETEd
Date
Msg-id 15832.62590.186407.827432@kelvin.csl.co.uk
Whole thread Raw
In response to Retrieve Number of rows to be DELETEd  ("Matthew V." < <linux4us@earthlink.net>>)
Responses Retrieve Number of rows to be DELETEd  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-general
Take a look in: sqlca.sqlerrd[2]

Lee.

"\"Matthew V.\" writes:
 > I'm using ECPG and embedded SQL.  In the C interface, there is a
 > PQcmdTuples() command which returns the number of rows affected by an SQL
 > statement.  In embedded SQL, other than doing a SELECT count(*) first, is
 > there a way to get the number of rows that may be/were affected by a
 > delete or update?

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Authorise root as postgres
Next
From: Chris Bowlby
Date:
Subject: Re: Inquiry From Form [pgsql]