"Keith Worthington" <keithw(at)narrowpathinc(dot)com> writes:
> PERFORM SELECT peachtree.tbl_gl_account.account_id
> FROM peachtree.tbl_gl_account
> WHERE peachtree.tbl_gl_account.account_id =
> rcrd_gl_account.account_id;
You just want "PERFORM peachtree...", that is, the PERFORM keyword
is syntactically a substitute for SELECT. The manual is not very
good about this :-( ... I've tried to make it clearer in the 8.0
docs.
regards, tom lane