From: Tom Lane <tgl@sss.pgh.pa.us>
To: Martin Brommer <martin@brommer.nl>
Cc: pgsql-sql@postgresql.org
Subject: Re: PERFORM / FOUND, what's up?
Date: Wed, 30 Apr 2003 21:53:33 -0400
Message-ID: <25886.1051754013@sss.pgh.pa.us> (raw)
In-Reply-To: <3eae35d4$0$49113$e4fe514c@news.xs4all.nl>
References: <3eae35d4$0$49113$e4fe514c@news.xs4all.nl>
Martin Brommer <martin@brommer.nl> writes:
> qry := 'SELECT notafield FROM notatable'
> PERFORM qry
> Also sets FOUND to true, even more using a query like 'BLABLABLA' also
> set found to true.
I think you are looking for EXECUTE, not PERFORM. The above only
confirms that indeed "qry" is a scalar variable --- its contents
are not examined.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, martin@brommer.nl
Subject: Re: PERFORM / FOUND, what's up?
In-Reply-To: <25886.1051754013@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox