From: Álvaro Herrera <alvherre@kurilemu.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Have the REPACK decoding worker use temp_file_limit from the ste
Date: Wed, 11 Nov 2026 16:19:37 +0000
Message-ID: <E1xRB2v-00000000Kll-0MmU@gemulon.postgresql.org> (raw)
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@gmail.com>
Backpatch-through: 19
Discussion: https://postgr.es/m/CAGRkXqTYaBjFvjtjPb1+=sZWvt93=2c472bmM+xdG7w9ZvAydA@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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@kurilemu.de
Subject: Re: pgsql: Have the REPACK decoding worker use temp_file_limit from the ste
In-Reply-To: <E1xRB2v-00000000Kll-0MmU@gemulon.postgresql.org>
References: <E1xRB2v-00000000Kll-0MmU@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox