Re: using plpgsql outside of functions - Mailing list pgsql-sql

From Richard Huxton
Subject Re: using plpgsql outside of functions
Date
Msg-id 200309241642.16845.dev@archonet.com
Whole thread Raw
In response to using plpgsql outside of functions  (Miklos Keresztes <keresztes_m@yahoo.com>)
List pgsql-sql
On Wednesday 24 September 2003 16:22, Miklos Keresztes wrote:
> Hello,
> Is any way to use the plpgsql outside of functions? I
> want to create a SQL script file using plpgsql for use
> with pgAdmin query window.

No - plpgsql will only be parsed as the body of a function. You can always 
create the function, call it, then drop the function.
--  Richard Huxton Archonet Ltd


pgsql-sql by date:

Previous
From: Miklos Keresztes
Date:
Subject: using plpgsql outside of functions
Next
From: Bruce Momjian
Date:
Subject: Re: Datafiles for Databases