diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-09-25 15:24:41 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-09-25 15:24:41 +0200 |
commit | d8f07dbb81a169ff8d54c6684c0ca385b83de757 (patch) | |
tree | 24dbb565d84854289b585229da130d7594f33c0c | |
parent | 7e638d7f5093fd24837ebe709135fa16ef8e3e7b (diff) |
Fix comments in recovery tests
Commit 4464fddf removed the large insertions but missed to remove
all the comments referring to them. Also remove a superfluous ')'
in another comment.
Author: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/OSCPR01MB149663A99DAF2826BE691C23DF51FA@OSCPR01MB14966.jpnprd01.prod.outlook.com
-rw-r--r-- | src/test/recovery/t/046_checkpoint_logical_slot.pl | 2 | ||||
-rw-r--r-- | src/test/recovery/t/047_checkpoint_physical_slot.pl | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/test/recovery/t/046_checkpoint_logical_slot.pl b/src/test/recovery/t/046_checkpoint_logical_slot.pl index 4fd709e3a03..0242a1573ca 100644 --- a/src/test/recovery/t/046_checkpoint_logical_slot.pl +++ b/src/test/recovery/t/046_checkpoint_logical_slot.pl @@ -69,7 +69,7 @@ $node->safe_psql('postgres', q{checkpoint}); $node->advance_wal(20); # Run another checkpoint, this time in the background, and make it wait -# on the injection point) so that the checkpoint stops right before +# on the injection point so that the checkpoint stops right before # removing old WAL segments. note('starting checkpoint'); diff --git a/src/test/recovery/t/047_checkpoint_physical_slot.pl b/src/test/recovery/t/047_checkpoint_physical_slot.pl index 9e98383e30e..a0f1fc4720f 100644 --- a/src/test/recovery/t/047_checkpoint_physical_slot.pl +++ b/src/test/recovery/t/047_checkpoint_physical_slot.pl @@ -46,7 +46,6 @@ $node->safe_psql('postgres', # Run checkpoint to flush current state to disk and set a baseline. $node->safe_psql('postgres', q{checkpoint}); -# Insert 2M rows; that's about 260MB (~20 segments) worth of WAL. $node->advance_wal(20); # Advance slot to the current position, just to have everything "valid". @@ -57,7 +56,6 @@ $node->safe_psql('postgres', # Run another checkpoint to set a new restore LSN. $node->safe_psql('postgres', q{checkpoint}); -# Another 2M rows; that's about 260MB (~20 segments) worth of WAL. $node->advance_wal(20); my $restart_lsn_init = $node->safe_psql('postgres', @@ -67,7 +65,7 @@ chomp($restart_lsn_init); note("restart lsn before checkpoint: $restart_lsn_init"); # Run another checkpoint, this time in the background, and make it wait -# on the injection point) so that the checkpoint stops right before +# on the injection point so that the checkpoint stops right before # removing old WAL segments. note('starting checkpoint'); |