pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Reintroduce test 046_checkpoint_logical_slot
2+ messages / 1 participants
[nested] [flat]

* pgsql: Reintroduce test 046_checkpoint_logical_slot
@ 2025-07-19 12:45 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alexander Korotkov @ 2025-07-19 12:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reintroduce test 046_checkpoint_logical_slot

This commit is only for HEAD and v18, where the test has been removed.
It also incorporates improvements below to stability and coverage of the
original test, which were already backpatched to v17.
- 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.

Author: Alexander Korotkov <akorotkov@postgresql.org>
Co-authored-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Backpatch-through: 18

Branch
------
master

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

Modified Files
--------------
src/test/recovery/meson.build                      |   1 +
src/test/recovery/t/046_checkpoint_logical_slot.pl | 142 +++++++++++++++++++++
2 files changed, 143 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Reintroduce test 046_checkpoint_logical_slot
@ 2025-07-19 12:45 Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alexander Korotkov @ 2025-07-19 12:45 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Reintroduce test 046_checkpoint_logical_slot

This commit is only for HEAD and v18, where the test has been removed.
It also incorporates improvements below to stability and coverage of the
original test, which were already backpatched to v17.
- 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.

Author: Alexander Korotkov <akorotkov@postgresql.org>
Co-authored-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/226c5674540f8bc5144e9ba9a83f12977ba4203c

Modified Files
--------------
src/test/recovery/meson.build                      |   1 +
src/test/recovery/t/046_checkpoint_logical_slot.pl | 142 +++++++++++++++++++++
2 files changed, 143 insertions(+)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-07-19 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-07-19 12:45 pgsql: Reintroduce test 046_checkpoint_logical_slot Alexander Korotkov <akorotkov@postgresql.org>
2025-07-19 12:45 pgsql: Reintroduce test 046_checkpoint_logical_slot Alexander Korotkov <akorotkov@postgresql.org>

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