Getting actual number of rows updated - Mailing list pgsql-general

From CSN
Subject Getting actual number of rows updated
Date
Msg-id 20050808073257.13650.qmail@web52909.mail.yahoo.com
Whole thread Raw
Responses Re: Getting actual number of rows updated  (Tino Wildenhain <tino@wildenhain.de>)
List pgsql-general
Is it possible to have PG report the actual number of
rows that actually CHANGED in an update command? e.g.

UPDATE items set name=replace(name,'abc','def');
UPDATE 9000 -- Actually only 3 were changed

rather than update reporting all rows have been
"updated"?

Thanks,
CSN



____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs


pgsql-general by date:

Previous
From: "Jeff Eckermann"
Date:
Subject: Re: linking access using ODBC driver with geometric data
Next
From: Oleg Bartunov
Date:
Subject: Re: tsearch2: very slow queries