Vitaly Belman <vitalyb@xxxxxxxxx> writes: > Doing an EXECUTE for a query which returns results still yields 'f' > for the FOUND variable. This is not a bug. Read the list of statements that update FOUND. EXECUTE is not one of them. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend