Re: buffile.c resource owner breakage on segment extension - Mailing list pgsql-hackers

From Tom Lane
Subject Re: buffile.c resource owner breakage on segment extension
Date
Msg-id 19266.1383334134@sss.pgh.pa.us
Whole thread Raw
In response to buffile.c resource owner breakage on segment extension  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: buffile.c resource owner breakage on segment extension
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> While not particularly nice, given the API, it seems best for buffile.c
> to remember the resource owner used for the original segment and
> temporarily set that during the extension.

Hm, yeah, that seems right.  It's just like repalloc keeping the memory
chunk in its original context.  The comments here are a bit inadequate...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: API bug in DetermineTimeZoneOffset()
Next
From: Jim Nasby
Date:
Subject: Handle LIMIT/OFFSET before select clause (was: Feature request: optimizer improvement)