Re: Writing plpgsql not in a function (directly from plsql)? - Mailing list pgsql-novice

From Vitaly Belman
Subject Re: Writing plpgsql not in a function (directly from plsql)?
Date
Msg-id fa96e3c604100311057aa68c4c@mail.gmail.com
Whole thread Raw
In response to Writing plpgsql not in a function (directly from plsql)?  (Vitaly Belman <vitalyb@gmail.com>)
Responses Re: Writing plpgsql not in a function (directly from plsql)?  (John DeSoi <desoi@pgedit.com>)
List pgsql-novice
The idea is to write it without creating a function... Just as a quick script.

Not possible? :(


On Sun, 3 Oct 2004 11:21:50 -0400, John DeSoi <jd@icx.net> wrote:
>
> On Oct 2, 2004, at 5:59 PM, Vitaly Belman wrote:
>
> > Is it possible to write plpgsq from psql? I don't want to write a
> > function just to write a little script, for example, I'd like to write
> > something like:
>
> You can do this from psql, but you need to use the CREATE FUNCTION
> command and enclose your procedure body in quotes.
>
> See
> http://www.postgresql.org/docs/current/interactive/sql-
> createfunction.html
>
>
> John DeSoi, Ph.D.
> http://pgedit.com/
> Power Tools for PostgreSQL
>
>



--
 ICQ: 1912453
 AIM: VitalyB1984
 MSN: tmdagent@hotmail.com
 Yahoo!: VitalyBe

pgsql-novice by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: last dtae of the month
Next
From: John DeSoi
Date:
Subject: Re: Writing plpgsql not in a function (directly from plsql)?