pg_walsummary-fixes.patch
text/x-patch
Filename: pg_walsummary-fixes.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: unified
| File | + | − |
|---|---|---|
| doc/src/sgml/func.sgml | 1 | 1 |
| src/bin/pg_walsummary/t/002_blocks.pl | 1 | 1 |
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 0f7d409e60..210c7c0b02 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -26578,7 +26578,7 @@ SELECT collation for ('foo' COLLATE "de_DE");
record that it has consumed, which must always be greater than or
equal to <literal>summarized_lsn</literal>; if the WAL summarizer is
not running, it will be equal to <literal>summarized_lsn</literal>.
- <literal>summarized_pid</literal> is the PID of the WAL summarizer
+ <literal>summarizer_pid</literal> is the PID of the WAL summarizer
process, if it is running, and otherwise NULL.
</para></entry>
</row>
diff --git a/src/bin/pg_walsummary/t/002_blocks.pl b/src/bin/pg_walsummary/t/002_blocks.pl
index d473471bc7..d609d2c547 100644
--- a/src/bin/pg_walsummary/t/002_blocks.pl
+++ b/src/bin/pg_walsummary/t/002_blocks.pl
@@ -63,7 +63,7 @@ SELECT EXISTS (
)
EOM
-# Figure out the exact details for the new sumamry file.
+# Figure out the exact details for the new summary file.
my $details = $node1->safe_psql('postgres', <<EOM);
SELECT tli, start_lsn, end_lsn from pg_available_wal_summaries()
WHERE tli = $summarized_tli AND end_lsn > '$summarized_lsn'