Re: OID in $_TD->{new}/$_TD->{old} - Mailing list pgsql-general

From Antonio José García Lagar
Subject Re: OID in $_TD->{new}/$_TD->{old}
Date
Msg-id 1248901536.7712.0.camel@nabuconodosor
Whole thread Raw
In response to Re: OID in $_TD->{new}/$_TD->{old}  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> > It is posible to access to the row OID of the row which fired a pl/perl
> > trigger?
>
> > If I try to access to $_TD->{new}{oid} or $_TD->{old}{oid} I have no
> > result.
>
> It looks to me like plperl_hash_from_tuple considers only user
> attributes.  Not sure if this would be worth changing.
>
>             regards, tom lane
And is there any other way to access to the row OID from the trigger?

Thanks
--
Antonio José García Lagar <antonio@c17.net>
Compact Software International SA
http://www.c17.net


pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Strange Planner Issues
Next
From: Tim Uckun
Date:
Subject: Monitoring with pg_controldata