Search Postgresql Archives

Re: syntax error at or near "PERFORM"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15/08/2008 05:32, Dale wrote:
On Aug 15, 2:14 pm, Dale <harris...@xxxxxxxxxxxx> wrote:
<snip>
even when I try executing something basic:  PERFORM (2 + 3);
<snip>
I found my problem.  Unfortunately PERFORM can only be used within a
"LANGUAGE plpgsql" script.

Yes, that's it - outside a function, you just do:

  select (2 + 3);

Ray.


------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod@xxxxxx
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux