| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: REPACK CONCURRENTLY: fix processing of toasted tuples |
| Date: | 2026-04-30 21:54:39 |
| Message-ID: | E1wIZLC-003VlP-1T@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
REPACK CONCURRENTLY: fix processing of toasted tuples
In order to process tuples inserted or updated while REPACK executes, we
write those tuples to disk and later restore them; however, some forms
of toasted tuples were not being processed correctly. Fix that.
Also expand the tests a bit for better coverage.
Author: Satya Narlapuram <satyanarlapuram(at)gmail(dot)com>
Author: Antonin Houska <ah(at)cybertec(dot)at>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHg+QDeXb9HM2VGKXQedyCp52GzajJK5KOUdNi6oLjsS0nerQw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6ca631b9901264b97c5b165e66edd3a85847ee0b
Modified Files
--------------
src/backend/commands/repack.c | 2 +-
.../injection_points/expected/repack_toast.out | 109 ++++++++++----
.../injection_points/specs/repack_toast.spec | 158 +++++++++++++++------
3 files changed, 199 insertions(+), 70 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Guo | 2026-05-01 00:43:10 | pgsql: Fix JSON_ARRAY(query) empty set handling and view deparsing |
| Previous Message | Álvaro Herrera | 2026-04-30 20:58:38 | pgsql: Remove working test that was supposed to fail |