Re: [PATCH] Explain what the default output_plugin_libraries do

From: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
To: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(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-15 00:08:18
Message-ID: CAOYmi+=j9=v_zgXzs-3N1-Cnc9LYS48usjwPeM57wF0uPbNrNQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Sep 11, 2026 at 3:46 AM Hayato Kuroda (Fujitsu)
<kuroda(dot)hayato(at)fujitsu(dot)com> wrote:
> Actually this thread was not split on the web archive ;-(. But the proposal is good.

Thanks for the review! Yeah, I think the archive just cares about
thread ID? My client isn't particularly smart when it comes to
those...

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

Possibly in a new "installation" section?

> ```
> + <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.

My goal on this particular page is only to highlight the command-line
incompatibility. The linked-to section for --plugin says

When creating a slot, use the specified logical decoding output plugin.
See Chapter 47. This option has no effect if the slot already exists.

which seems detailed enough to me; thoughts?

Thanks!
--Jacob

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message cca5507 2026-09-15 01:20:17 Re: [Bug] Possible io_uring FD leak across crash recovery
Previous Message Toshiki Toda 2026-09-15 00:02:34 Re: Add TOAST statistics columns to pg_stat_all_tables