aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSetOp.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-11-01 16:10:00 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-11-01 16:10:00 -0400
commit8c0116a4c990a2c29c33a0cfd62ebfe4de3620e6 (patch)
treebc2ce757c4538175029e5907d23f5e9e895e3824 /src/backend/executor/nodeSetOp.c
parent172ba45780716349f9c76766bad751273c240a66 (diff)
downloadpostgresql-8c0116a4c990a2c29c33a0cfd62ebfe4de3620e6.tar.gz
postgresql-8c0116a4c990a2c29c33a0cfd62ebfe4de3620e6.zip
Ensure all files created for a single BufFile have the same resource owner.
Callers expect that they only have to set the right resource owner when creating a BufFile, not during subsequent operations on it. While we could insist this be fixed at the caller level, it seems more sensible for the BufFile to take care of it. Without this, some temp files belonging to a BufFile can go away too soon, eg at the end of a subtransaction, leading to errors or crashes. Reported and fixed by Andres Freund. Back-patch to all active branches.
Diffstat (limited to 'src/backend/executor/nodeSetOp.c')
0 files changed, 0 insertions, 0 deletions