pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Roland Roberts <roland@astrofoto.org>
To: pgsql-sql@postgresql.org
Subject: Re: PL/pgSQL examples NOT involving functions
Date: Thu, 15 Nov 2001 12:54:32 -0800
Message-ID: <web-506947@davinci.ethosmedia.com> (raw)
In-Reply-To: <m2adxoget3.fsf@tycho.rlent.pnet>

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@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco



view thread (21+ messages)  latest in thread

Message-ID: <web-506947@davinci.ethosmedia.com>
Permalink:  ../web-506947@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-506947@davinci.ethosmedia.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: josh@agliodbs.com, roland@astrofoto.org, pgsql-sql@postgresql.org
  Subject: Re: PL/pgSQL examples NOT involving functions
  In-Reply-To: <web-506947@davinci.ethosmedia.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox