Andres Freund <and...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers