Re: sql function examples requested (! select) - Mailing list pgsql-sql

From Tom Lane
Subject Re: sql function examples requested (! select)
Date
Msg-id 9594.1029345914@sss.pgh.pa.us
Whole thread Raw
In response to sql function examples requested (! select)  (Sue Humphrey <sue_humphrey@yahoo.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: concurrent connections is worse than serialization?
Next
From: Richard Huxton
Date:
Subject: Re: concurrent connections is worse than serialization?