Terry Lee Tucker <terry@xxxxxxxx> writes: > Will the FOUND variable be set, when using EXECUTE, as it would be with a > normal UPDATE statement? The documentation is pretty specific about which plpgsql statements set FOUND, and I don't see EXECUTE in that list ... http://developer.postgresql.org/docs/postgres/plpgsql-statements.html#PLPGSQL-STATEMENTS-DIAGNOSTICS regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings