Re: Question about MemoryContexts and functions that returns - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Question about MemoryContexts and functions that returns
Date
Msg-id 8240.1142985981@sss.pgh.pa.us
Whole thread Raw
In response to Re: Question about MemoryContexts and functions that returns  (Thomas Hallgren <thomas@tada.se>)
Responses Re: Question about MemoryContexts and functions that returns
List pgsql-hackers
Thomas Hallgren <thomas@tada.se> writes:
> Is there a difference in how the executor treat a C function and a 
> function using a call handler that can cause this behavior?

Can't think of one.  You'd better take a closer look at your call
handler.

gdb'ing with a watchpoint on writes to CurrentMemoryContext might be
helpful at seeing whether the context is changing unexpectedly.
        regards, tom lane


pgsql-hackers by date:

Previous
From: satoshi nagayasu
Date:
Subject: Re: 8.2 planning features
Next
From: "Jonah H. Harris"
Date:
Subject: Re: 8.2 planning features