From bf6be5c89a9bbfcd70520c4819ef12c0fafcc31e Mon Sep 17 00:00:00 2001 From: Jacob Champion Date: Thu, 10 Sep 2026 09:32:40 -0700 Subject: [PATCH v2] doc: Improve output_plugin_libraries documentation Describe the effects of removing the builtin plugins from output_plugin_libraries. It may not be obvious to DBAs why they might want to keep those in the allowlist, since it wasn't previously possible to pick and choose plugins without modifying the Postgres installation itself. Reported-by: Hayato Kuroda Reviewed-by: Hayato Kuroda Reviewed-by: Bharath Rupireddy Reviewed-by: Chao Li Discussion: https://postgr.es/m/CAOYmi%2Bmt5bcV6B0DZR-t1tfpX8wjk8Aj%2BftEd%3DxXuH5qege2%2BQ%40mail.gmail.com Backpatch-through: 14 --- doc/src/sgml/config.sgml | 41 ++++++++++++++++++++++++++++ doc/src/sgml/ref/pg_recvlogical.sgml | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 0165eb9ec02..768ce2078e2 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -4874,6 +4874,8 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows restriction. The default is 'pgoutput, test_decoding', which are the two logical output plugins included in the standard PostgreSQL distribution. + ( documents the + behavior of the system if they are removed from this list.) The format is a comma-separated list of library names, where each name @@ -4912,6 +4914,45 @@ HINT: If it is safe for all REPLICATION users to use this library as an output + + + Plugins Allowed by Default + + + + + + Plugin + Description + + + + + + + + Core plugin for logical replication. Removing pgoutput + from output_plugin_libraries will cause future + subscription connections, and maintenance of the replication slots + for subscriptions, to fail with an error. (Beware that existing + replication tools may not degrade gracefully if the server is + configured in this way.) + + + + + + Decodes the WAL stream into a human-readable text representation. + uses this plugin by default, so + removing it from output_plugin_libraries will + prevent the use of that utility unless a replacement plugin is + installed and explicitly selected with + --plugin. + + + + +
diff --git a/doc/src/sgml/ref/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml index 5f76e424e26..85cc6dbb2bb 100644 --- a/doc/src/sgml/ref/pg_recvlogical.sgml +++ b/doc/src/sgml/ref/pg_recvlogical.sgml @@ -270,7 +270,7 @@ PostgreSQL documentation - + -- 2.34.1