pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Martin Edlman <edlman@fortech.cz>
Cc: pgsql-sql@postgresql.org
Subject: Re: pl/PgSQL, variable names in NEW
Date: Tue, 8 Apr 2008 09:21:57 -0400
Message-ID: <20080408132157.GF5290@alvh.no-ip.org> (raw)
In-Reply-To: <47FB51C7.6090509@fortech.cz>
References: <47FA034B.7090201@fortech.cz>
	<162867790804070511y7266c911w370db97a78c3c519@mail.gmail.com>
	<47FB51C7.6090509@fortech.cz>

Martin Edlman wrote:

> I don't want to rewrite whole trigger to plPerl as I would have to use
> DBD-PgSPI.

Huh?  Certainly not -- there are functions in PL/Perl for this.  See
spi_exec_query in
http://www.postgresql.org/docs/8.3/static/plperl-database.html

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (11+ messages)  latest in thread

Message-ID: <20080408132157.GF5290@alvh.no-ip.org>
Permalink:  ../20080408132157.GF5290@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080408132157.GF5290@alvh.no-ip.org

 · 

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: alvherre@commandprompt.com, edlman@fortech.cz
  Subject: Re: pl/PgSQL, variable names in NEW
  In-Reply-To: <20080408132157.GF5290@alvh.no-ip.org>

* 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