How to find out if row was modified by EXECUTE UPDATE ... - Mailing list pgsql-general

From A B
Subject How to find out if row was modified by EXECUTE UPDATE ...
Date
Msg-id dbbf25901003080412v4db318a5lffa7ead76aae966f@mail.gmail.com
Whole thread Raw
Responses Re: How to find out if row was modified by EXECUTE UPDATE ...  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
Hello.
Doesn't this work in plpgsql functions?

EXECUTE 'UPDATE mytable set ... ...'
IF FOUND THEN
       do stuff....
END IF;

It seems it always evaluate to false in the if statement, Isn't  found
used to see if an update has modified rows?

Are there any alternatives to selecting the row and see if the values
are set to see if the update worked?

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: XML Index again
Next
From: Pavel Stehule
Date:
Subject: Re: How to find out if row was modified by EXECUTE UPDATE ...