aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/fd.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2020-07-03 15:09:06 +0200
committerMagnus Hagander <magnus@hagander.net>2020-07-03 15:10:41 +0200
commit4aa02d0729f01e6f381a2ffbf052a0d54dcbdb82 (patch)
tree542e0f9be9e8d61f1d3d9310bc6f0f151d8aa2d4 /src/backend/storage/file/fd.c
parent81b244e78b637b16ddb7a33bc5fb7448b6c45c39 (diff)
downloadpostgresql-4aa02d0729f01e6f381a2ffbf052a0d54dcbdb82.tar.gz
postgresql-4aa02d0729f01e6f381a2ffbf052a0d54dcbdb82.zip
Fix temporary tablespaces for shared filesets
A likely copy/paste error in 98e8b480532 from back in 2004 would cause temp tablespace to be reset to InvalidOid if temp_tablespaces was set to the same value as the primary tablespace in the database. This would cause shared filesets (such as for parallel hash joins) to ignore them, putting the temporary files in the default tablespace instead of the configured one. The bug is in the old code, but it appears to have been exposed only once we had shared filesets. Reviewed-By: Daniel Gustafsson Discussion: https://postgr.es/m/CABUevExg5YEsOvqMxrjoNvb3ApVyH+9jggWGKwTDFyFCVWczGQ@mail.gmail.com Backpatch-through: 9.5
Diffstat (limited to 'src/backend/storage/file/fd.c')
0 files changed, 0 insertions, 0 deletions