Re: Examing cotets of NEW & OLD in a function programed in perl

From: Christophe Pettus <xof(at)thebuild(dot)com>
To: stan <stanb(at)panix(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Examing cotets of NEW & OLD in a function programed in perl
Date: 2020-03-03 21:28:14
Message-ID: 239DF6A4-EB8D-415E-9084-201A44E15C48@thebuild.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> On Mar 3, 2020, at 13:26, stan <stanb(at)panix(dot)com> wrote:
> So, they should just be visible as OLD, and NEW as hasshes?

They're documented here:

https://www.postgresql.org/docs/current/plperl-triggers.html

A global hash variable $_TD is available in the trigger function with all sorts of trigger-related info.

--
-- Christophe Pettus
xof(at)thebuild(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Patrick Olson 2020-03-03 22:05:30 Graphical Query Builder
Previous Message stan 2020-03-03 21:26:01 Re: Examing cotets of NEW & OLD in a function programed in perl