File tree 1 file changed +48
-0
lines changed 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 599
599
</para>
600
600
</sect2>
601
601
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
+
602
650
<sect2>
603
651
<title>Examples</title>
604
652
You can’t perform that action at this time.
0 commit comments