Re: OID in $_TD->{new}/$_TD->{old}

From: Antonio José García Lagar <antonio(at)c17(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: OID in $_TD->{new}/$_TD->{old}
Date: 2009-07-29 21:05:36
Message-ID: 1248901536.7712.0.camel@nabuconodosor
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)c17(dot)net>
Compact Software International SA
http://www.c17.net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tim Uckun 2009-07-29 22:10:14 Monitoring with pg_controldata
Previous Message Greg Stark 2009-07-29 20:06:31 Re: Strange Planner Issues