From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve recovery test 046_checkpoint_logical_slot |
Date: | 2025-07-19 12:45:42 |
Message-ID: | E1ud6wg-0075g9-1y@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Improve recovery test 046_checkpoint_logical_slot
This commit improves 046_checkpoint_logical_slot in two aspects:
- Add one pg_logical_emit_message() call to force the creation of a record
that spawns across two pages.
- Make the logic wait for the checkpoint completion.
Discussion: https://postgr.es/m/CALDaNm34m36PDHzsU_GdcNXU0gLTfFY5rzh9GSQv%3Dw6B%2BQVNRQ%40mail.gmail.com
Author: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
Co-authored-by: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/6aefde2a2db826f363891e1cc1157f22a6c30707
Modified Files
--------------
src/test/recovery/t/046_checkpoint_logical_slot.pl | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2025-07-19 12:45:55 | pgsql: Fix infinite wait when reading a partially written WAL record |
Previous Message | Alexander Korotkov | 2025-07-19 12:45:41 | pgsql: Reintroduce test 046_checkpoint_logical_slot |