Re: I must be blind...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joe Conway <mail(at)joeconway(dot)com>
Cc: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>, pgsql-general(at)postgresql(dot)org
Subject: Re: I must be blind...
Date: 2002-06-14 21:35:58
Message-ID: 9224.1024090558@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Joe Conway <mail(at)joeconway(dot)com> writes:
> I don't think you can use PERFORM like that. Try:

Actually I believe he can; after looking at the manual I realized that
the problem is that PERFORM is syntactically a substitute for SELECT.
In other words he needed to write

PERFORM 1 FROM orders ...
not
PERFORM SELECT 1 FROM orders ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nigel J. Andrews 2002-06-14 22:09:49 Re: I must be blind...
Previous Message Bill Moran 2002-06-14 21:35:44 Re: large database on postgres

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruno Wolff III 2002-06-14 21:45:39 Re: FEATURE REQUEST - More dynamic date type?
Previous Message Bill Cunningham 2002-06-14 20:41:07 Re: Big Test Environment Feature