Re: using plpgsql outside of functions

From: Richard Huxton <dev(at)archonet(dot)com>
To: Miklos Keresztes <keresztes_m(at)yahoo(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: using plpgsql outside of functions
Date: 2003-09-24 15:42:16
Message-ID: 200309241642.16845.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2003-09-24 16:12:26 Re: Datafiles for Databases
Previous Message Miklos Keresztes 2003-09-24 15:22:00 using plpgsql outside of functions