Re: PL/pgSQL examples NOT involving functions

From: "Josh Berkus" <josh(at)agliodbs(dot)com>
To: Roland Roberts <roland(at)astrofoto(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: PL/pgSQL examples NOT involving functions
Date: 2001-11-15 20:54:32
Message-ID: web-506947@davinci.ethosmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-sql

Roland,

Please do not cross-post to multiple lists.

> How can I write a few lines of PL/pgSQL which do not involve creating
> a function? I can find no examples of this in the docs, but say I
> would like to do something like

You can't. PL/pgSQL, like PL/Perl and PL/Tcl, may only be used in
functions.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh(at)agliodbs(dot)com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Roland Roberts 2001-11-15 21:21:33 Re: PL/pgSQL examples NOT involving functions
Previous Message Roland Roberts 2001-11-15 16:49:12 PL/pgSQL examples NOT involving functions

Browse pgsql-sql by date

  From Date Subject
Next Message Roland Roberts 2001-11-15 21:21:33 Re: PL/pgSQL examples NOT involving functions
Previous Message Roland Roberts 2001-11-15 20:03:00 Re: INSERT question