Hi 2012/1/3 David Johnston <polobo@xxxxxxxxx>: > On Jan 2, 2012, at 16:46, Ondrej Ivanič <ondrej.ivanic@xxxxxxxxx> wrote: > Yes, PERFORM does populate FOUND. > > From the documentation you just linked to.... > > A PERFORM statement sets FOUND true if it produces (and discards) one or > more rows, false if no row is produced. > Bummer! Thanks for the correction! I shouldn't (blindly) rely on my own comments in the code :) Pgpsql code uses "execute" which is the reason for 'get diagnostics'... -- Ondrej Ivanic (ondrej.ivanic@xxxxxxxxx) -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general