Skip to content

Commit 47905ef

Browse files
fujitsu-kuroda-hayatohackorum
authored andcommitted
doc: clarify the location where output plugin must be
1 parent 4255812 commit 47905ef

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

‎doc/src/sgml/logicaldecoding.sgml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,25 @@ DETAIL: Synchronization could lead to data loss, because the remote slot needs
775775
</sect2>
776776
</sect1>
777777

778+
<sect1 id="logicaldecoding-output-plugin-installing">
779+
<title>Installing Logical Decoding Output Plugins</title>
780+
<para>
781+
An output plugin must be installed as a dynamically loadable library. The
782+
library should be installed in a directory listed in
783+
<xref linkend="guc-dynamic-library-path"/>, so that the plugin can be
784+
referenced by name without depending on an installation-specific directory
785+
path (see <xref linkend="xfunc-c-dynload"/>).
786+
The library is loaded automatically when the output plugin is used; neither
787+
<link linkend="sql-load"><command>LOAD</command></link> nor
788+
<link linkend="sql-createextension"><command>CREATE EXTENSION</command></link>
789+
is required for this.
790+
</para>
791+
<para>
792+
The library's name must also be listed in
793+
<xref linkend="guc-output-plugin-libraries"/>.
794+
</para>
795+
</sect1>
796+
778797
<sect1 id="logicaldecoding-output-plugin-writing">
779798
<title>Writing Logical Decoding Output Plugins</title>
780799
<para>

0 commit comments

Comments
 (0)