Re: PERFORM statement question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: KeithW(at)narrowpathinc(dot)com
Cc: "PostgreSQL Novice" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: PERFORM statement question
Date: 2004-12-17 01:08:19
Message-ID: 12813.1103245699@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Keith Worthington 2004-12-17 01:23:03 Re: PERFORM statement question
Previous Message John DeSoi 2004-12-17 00:52:56 Re: basic download and setup questions