Have the REPACK decoding worker use temp_file_limit from the steering backend

Expand the a62ff0829d6b shenanigans to temp_file_limit, to override any
role- or database-specific configured value with the value from the
current session.

Author: Shihao Zhong <[email protected]>
Backpatch-through: 19
Discussion: 
https://postgr.es/m/CAGRkXqTYaBjFvjtjPb1+=sZWvt93=2c472bmm+xdg7w9zva...@mail.gmail.com

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c686ed67e5f08c6a6b6f31e2b15d828d44ae1de5

Modified Files
--------------
src/backend/commands/repack.c          | 6 +++++-
src/backend/commands/repack_worker.c   | 4 +++-
src/include/commands/repack_internal.h | 3 ++-
3 files changed, 10 insertions(+), 3 deletions(-)

Reply via email to