Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1b67f7e

Browse files
author
Liudmila Mantrova
committed
DOC: documented new postgres-fdw gucs required for shardman
1 parent a0f6214 commit 1b67f7e

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

doc/src/sgml/postgres-fdw.sgml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,54 @@
599599
</para>
600600
</sect2>
601601

602+
<sect2>
603+
<title>GUC Variables</title>
604+
605+
<variablelist>
606+
<varlistentry id="guc-postgres-fdw-use-twophase" xreflabel="postgres_fdw.use_twophase">
607+
<term>
608+
<varname>postgres_fdw.use_twophase</> (<type>boolean</type>)
609+
<indexterm>
610+
<primary><varname>postgres_fdw.use_twophase</> configuration parameter</primary>
611+
</indexterm>
612+
</term>
613+
<listitem>
614+
<para>
615+
Enables two-phase commit (2PC) transactions. If this variable is set to
616+
<literal>true</literal>, each transaction must be <firstterm>prepared</firstterm> on all
617+
nodes before the commit. A successful <literal>PREPARE</literal>
618+
on the node means that this node is ready to commit the transaction,
619+
but it will only be committed if all other nodes can commit this
620+
transaction as well. Otherwise, the transaction will be aborted.
621+
This approach allows to ensure data consistency across all nodes.
622+
</para>
623+
<para>
624+
Default: <literal>false</literal>
625+
</para>
626+
</listitem>
627+
</varlistentry>
628+
629+
<varlistentry id="guc-postgres-fdw-use-global-snapshots" xreflabel="postgres_fdw.use_global_snapshots">
630+
<term>
631+
<varname>postgres_fdw.use_global_snapshots</> (<type>boolean</type>)
632+
<indexterm>
633+
<primary><varname>postgres_fdw.use_global_snapshots</> configuration parameter</primary>
634+
</indexterm>
635+
</term>
636+
<listitem>
637+
<para>
638+
Enables/disables distributed transaction manager based on
639+
Clock-SI algorithm. When enabled, provides cluster-wide transaction
640+
isolation at the <literal>REPEATABLE READ</literal> level.
641+
</para>
642+
<para>
643+
Default: <literal>false</literal>
644+
</para>
645+
</listitem>
646+
</varlistentry>
647+
</variablelist>
648+
</sect2>
649+
602650
<sect2>
603651
<title>Examples</title>
604652

0 commit comments

Comments
 (0)