Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-docspgsql-hackerspgsql-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

pgsql-docs by date

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

pgsql-hackers by date

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

pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group