Re: pl/PgSQL, variable names in NEW

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Martin Edlman <edlman(at)fortech(dot)cz>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: pl/PgSQL, variable names in NEW
Date: 2008-04-08 13:21:57
Message-ID: 20080408132157.GF5290@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-sql

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.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joshua D. Drake 2008-04-09 00:18:11 Update to FAQ
Previous Message Martin Edlman 2008-04-08 11:06:47 Re: pl/PgSQL, variable names in NEW

Browse pgsql-hackers by date

  From Date Subject
Next Message Kev 2008-04-08 13:26:29 variables for tables and columns?
Previous Message Gregory Stark 2008-04-08 13:11:30 Re: Patch queue -> wiki

Browse pgsql-sql by date

  From Date Subject
Next Message Tk421 2008-04-08 17:14:24 Pattern Matchig
Previous Message Martin Edlman 2008-04-08 11:06:47 Re: pl/PgSQL, variable names in NEW