pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sue Humphrey <sue_humphrey@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: sql function examples requested (! select)
Date: Wed, 14 Aug 2002 13:25:14 -0400
Message-ID: <9594.1029345914@sss.pgh.pa.us> (raw)
In-Reply-To: <20020814163942.52842.qmail@web20607.mail.yahoo.com>
References: <20020814163942.52842.qmail@web20607.mail.yahoo.com>

Sue Humphrey <sue_humphrey@yahoo.com> writes:
> I would like examples of functions using update, insert and
> delete, where LANGUAGE 'SQL', both how to write them and how to
> use them.

Have you read the documentation?

http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/xfunc-sql.html

The first couple of examples seem to cover the territory ...

			regards, tom lane



view thread (2+ messages)

Message-ID: <9594.1029345914@sss.pgh.pa.us>
Permalink:  ../9594.1029345914@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9594.1029345914@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sue_humphrey@yahoo.com
  Subject: Re: sql function examples requested (! select)
  In-Reply-To: <9594.1029345914@sss.pgh.pa.us>

* 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