pg.ddx.io pgsql-sql@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: adivi <adivi@maximizelearning.com>
To: pgsql-sql@postgresql.org
Subject: Re: trigger proceedures in sql
Date: Thu, 10 Jul 2003 09:29:47 +0100
Message-ID: <200307100929.47140.dev@archonet.com> (raw)
In-Reply-To: <004401c346a5$bbf0bb50$5d0410ac@maximizelearning.com>
References: <004401c346a5$bbf0bb50$5d0410ac@maximizelearning.com>
On Thursday 10 Jul 2003 6:40 am, adivi wrote:
> hi,
>
> can trigger proceedures ( procedures to be executed from within a
> trigger ) not be written in sql.
>
> i was looking for examples and can find proceedures in 'c' only.
AFAIK you can't use "sql", but you can use "plpgsql". There is an example of a
trigger function in the docs (chapter "Procedural Languages"). Also check out
http://techdocs.postgresql.org/ - there are examples in some of the docs
there.
--
Richard Huxton
view thread (8+ messages) latest in thread
Message-ID: <200307100929.47140.dev@archonet.com> Permalink: ../200307100929.47140.dev@archonet.com/ Also on: postgresql.org/message-id/200307100929.47140.dev@archonet.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-sql@postgresql.org Cc: dev@archonet.com, adivi@maximizelearning.com Subject: Re: trigger proceedures in sql In-Reply-To: <200307100929.47140.dev@archonet.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