v1-0001-Remove-commented-code-in-026_overwrite_contrecord.patch
text/x-patch
Filename: v1-0001-Remove-commented-code-in-026_overwrite_contrecord.patch
Type: text/x-patch
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch v1-0001
Subject: Remove commented code in 026_overwrite_contrecord
| File | + | − |
|---|---|---|
| src/test/recovery/t/026_overwrite_contrecord.pl | 1 | 1 |
From 5eedaf7fd3c69516091a53ee281056320d3f5b21 Mon Sep 17 00:00:00 2001
From: Imran Zaheer <imran.zaheer@cybertec.at>
Date: Fri, 3 Apr 2026 18:31:03 +0500
Subject: [PATCH v1] Remove commented code in 026_overwrite_contrecord
This commented-out CREATE TABLE statement appears to be a leftover from
earlier test development and is not used in the test. Remove it for clarity.
---
src/test/recovery/t/026_overwrite_contrecord.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/recovery/t/026_overwrite_contrecord.pl b/src/test/recovery/t/026_overwrite_contrecord.pl
index 4f501169f42..82567ca6bfc 100644
--- a/src/test/recovery/t/026_overwrite_contrecord.pl
+++ b/src/test/recovery/t/026_overwrite_contrecord.pl
@@ -58,7 +58,7 @@ my $initfile = $node->safe_psql('postgres',
$node->safe_psql('postgres',
qq{SELECT pg_logical_emit_message(true, 'test 026', repeat('xyzxz', 123456))}
);
-#$node->safe_psql('postgres', qq{create table foo ()});
+
my $endfile = $node->safe_psql('postgres',
'SELECT pg_walfile_name(pg_current_wal_insert_lsn())');
ok($initfile ne $endfile, "$initfile differs from $endfile");
--
2.34.1