Re: domain_in performance considerations - Mailing list pgsql-hackers

From Tom Lane
Subject Re: domain_in performance considerations
Date
Msg-id 17798.1144332777@sss.pgh.pa.us
Whole thread Raw
In response to Re: domain_in performance considerations  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> This is a shot in the dark, but I remember you commenting awhile back
> that there was a way to register a callback to be called on memory
> context reset or delete.

AFAIR there's no such thing associated with memory contexts per se.
There is one for EStates, but that requires access to an outer EState,
which is exactly what we lack for the other solution too.

I wonder though if we shouldn't invent one for memory contexts.  Maybe
even replace the EState-specific shutdown callback with mcontext cleanup
on its query context?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: Windows installer bugs (was: [BUGS] BUG #2374: Installation Error)
Next
From: Tony Caduto
Date:
Subject: Re: Windows installer bugs (was: [BUGS] BUG #2374: Installation