Re: pg/plsql question - Mailing list pgsql-general

From John DeSoi
Subject Re: pg/plsql question
Date
Msg-id 4B3ED5E8-9566-11D9-9497-000A95B03262@pgedit.com
Whole thread Raw
In response to Re: pg/plsql question  (Fred Blaise <fred.blaise@excilan.com>)
List pgsql-general
On Mar 15, 2005, at 10:19 AM, Fred Blaise wrote:

> Just to make sure... Once the function is created, you would call it as
> 'execute function()' from psql, correct?
>


Try: select function();

As a top level SQL command, EXECUTE is for executing prepared
statements:

http://www.postgresql.org/docs/8.0/interactive/sql-execute.html

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: plpython function problem workaround
Next
From: Tom Lane
Date:
Subject: Re: pg/plsql question