Joe Conway wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06/18/2014 08:50 PM, Joe Conway wrote:
> > On 06/18/2014 08:45 PM, Tom Lane wrote:
> >> Well, we usually think memory leaks are back-patchable bugs. I'm
> >> a bit worried about the potential performance impact of an extra
> >> memory context creation/deletion though. It's probably not
> >> noticeable in this test case, but that's just because dblink()
> >> is such a spectacularly expensive function.
> >
> > Probably so. I'll try to scrounge up some time to test the
> > performance impact of your patch.
>
> Not the most scientific of tests, but I think a reasonable one:
Is this an assert-enabled build?
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services