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.63191.370448.410805@kelvin.csl.co.uk
Whole thread Raw
In response to Retrieve Number of rows to be DELETEd  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-general
Take a look in: sqlca.sqlerrd[2]

(and if you're going to post on a public list, use a real email
address)

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: Chris Bowlby
Date:
Subject: Re: Inquiry From Form [pgsql]
Next
From: Haris Peco
Date:
Subject: Re: DECLARE CURSOR