Seamus Thomas Carroll <carrolls@cpsc.ucalgary.ca> writes:
> From what I have just read EXECUTE requires a prepared statement but
> prepared statements only work with SELECT, INSERT, UPDATE, or DELETE.
You're confusing SQL EXECUTE with plpgsql's EXECUTE. They're not
related. The coincidence of names is unfortunate but we're stuck
with it ...
regards, tom lane