pgsql: Have the REPACK decoding worker use temp_file_limit from the ste

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Have the REPACK decoding worker use temp_file_limit from the ste
Date: 2026-11-11 16:19:37
Message-ID: E1xRB2v-00000000Klj-0GbS@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <zhong950419(at)gmail(dot)com>
Backpatch-through: 19
Discussion: https://postgr.es/m/CAGRkXqTYaBjFvjtjPb1+=sZWvt93=2c472bmM+xdG7w9ZvAydA@mail.gmail.com

Branch
------
master

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Previous Message Tom Lane 2026-11-11 16:04:19 pgsql: Store empty stavalues when needed for expression statistics.