aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2022-11-15 19:35:12 -0800
committerJeff Davis <jdavis@postgresql.org>2022-11-15 20:07:18 -0800
commit36e0358e70498b5bf5e3e83d91ac964fc24c249e (patch)
treef1be86e7696ce171c7ac772ad595580247084c57 /src
parent1ff416121884884a167f0974cea9f86a1d6a577f (diff)
downloadpostgresql-36e0358e70498b5bf5e3e83d91ac964fc24c249e.tar.gz
postgresql-36e0358e70498b5bf5e3e83d91ac964fc24c249e.zip
Fix test in ae168c794f, per buildfarm.
Reported-by: Michael Paquier Discussion: https://postgr.es/m/Y3Q8SGMXhInL4o3X@paquier.xyz
Diffstat (limited to 'src')
-rw-r--r--src/test/modules/test_custom_rmgrs/t/001_basic.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/modules/test_custom_rmgrs/t/001_basic.pl b/src/test/modules/test_custom_rmgrs/t/001_basic.pl
index a5e3a8834ac..082bb438931 100644
--- a/src/test/modules/test_custom_rmgrs/t/001_basic.pl
+++ b/src/test/modules/test_custom_rmgrs/t/001_basic.pl
@@ -48,10 +48,10 @@ is($row_count, '1',
);
# check if our custom WAL resource manager has successfully written a WAL record
-my $expected = qq($record_end_lsn|test_custom_rmgrs|TEST_CUSTOM_RMGRS_MESSAGE|44|18|0|payload (10 bytes): payload123);
+my $expected = qq($record_end_lsn|test_custom_rmgrs|TEST_CUSTOM_RMGRS_MESSAGE|0|payload (10 bytes): payload123);
my $result =
$node->safe_psql('postgres',
- qq[SELECT end_lsn, resource_manager, record_type, record_length, main_data_length, fpi_length, description FROM pg_get_wal_records_info('$start_lsn', '$end_lsn')
+ qq[SELECT end_lsn, resource_manager, record_type, fpi_length, description FROM pg_get_wal_records_info('$start_lsn', '$end_lsn')
WHERE resource_manager = 'test_custom_rmgrs';]);
is($result, $expected,
'custom WAL resource manager has successfully written a WAL record'