Re: why does plperl cache functions using just a bool for is_trigger - Mailing list pgsql-hackers

From Tom Lane
Subject Re: why does plperl cache functions using just a bool for is_trigger
Date
Msg-id 23157.1287964203@sss.pgh.pa.us
Whole thread Raw
In response to Re: why does plperl cache functions using just a bool for is_trigger  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: why does plperl cache functions using just a bool for is_trigger
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 10/24/2010 06:44 PM, Tom Lane wrote:
>> I'm not certain that plperl is actually correct to do it that way,
>> but that's the basic idea.

> Why do we need the is_trigger flag at all for the plperl hash key? At 
> first glance it strikes me as unnecessary.

We might not.  Does the presence or absence of the $_TD hash reference
have any impact on what we cache, or what Perl might cache internally?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Serializable snapshot isolation patch
Next
From: Tom Lane
Date:
Subject: Re: WIP: extensible enums