RE: [PATCH] Explain what the default output_plugin_libraries do

From: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: 'Jacob Champion' <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: RE: [PATCH] Explain what the default output_plugin_libraries do
Date: 2026-09-11 10:46:34
Message-ID: OS9PR01MB121493CCC48253D0C19D66A6CF5BE2@OS9PR01MB12149.jpnprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear Jacob,

> Splitting this concern off from the original report:

Actually this thread was not split on the web archive ;-(. But the proposal is good.

> I'd like to
> backpatch something like the attached so that it's more obvious why
> you might (or might not) want to keep those in the list in the first
> place.
>
> WDYT?

Few comments:

1.
Wondering we need to add descriptions in logical-decoding.sgml. One idea is
something like below, are there better ideas?

```
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -783,6 +783,8 @@ DETAIL: Synchronization could lead to data loss, because the remote slot needs
<filename>contrib/test_decoding</filename>
</link>
subdirectory of the PostgreSQL source tree.
+ When you use new output plugins, you must also update
+ <xref linkend="guc-output-plugin-libraries"/>.
</para>
```

2.
```
+ <entry>
+ Decodes the WAL stream into a human-readable text representation.
+ <xref linkend="app-pgrecvlogical"/> uses this plugin by default, so
+ removing it from <literal>output_plugin_libraries</literal> will
+ prevent the use of that utility unless a replacement plugin is
+ installed and explicitly selected with
+ <link linkend="app-pgrecvlogical-option-plugin"><literal>--plugin</literal></link>.
+ </entry>
```

The description may not be accurate because the --plugin is referred only at the
creation phase.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Yuhang Qiu 2026-09-11 10:56:28 Re: Changing shared_buffers without restart
Previous Message Ashutosh Bapat 2026-09-11 10:11:53 Re: PGQ catalog representation and pg_dump support