You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DDL support is very limited. Function <xref linkend="shardman-alter-table">
780
-
alters root table at all nodes and updates its definition in metadata; it
781
-
can be used for column addition, removal and renaming. However, changing
788
+
DDL support is very limited. Function <xref linkend="shardman-alter-table">
789
+
alters root table on all nodes and updates its definition in cluster metadata; it
790
+
can be used to add, remove, or rename columns. However, changing
782
791
column used as sharding key is not supported. NOT NULL constraint can also
783
792
be created using this function. Foreign keys pointing to sharded tables are
784
793
not supported. Though it is possible to create UNIQUE constraint, it will be
785
794
enforced only on per-partition basis. Indexes which were created on table
786
795
before sharding it will be included in table definiton and created on
787
796
partitions and replicas too. <xref linkend="shardman-forall"> executes SQL
788
-
statement on all nodes; it can be used to create indexes later. For that it
789
-
is necessary to create an index on each partition separately, like described in <ulink url="https://github.com/postgrespro/pg_pathman/wiki/How-do-I-create-indexes"><filename>pg_pathman wiki</filename></ulink>.
797
+
statement on all nodes; it can be used to create indexes later. For that it
798
+
is necessary to create an index on each partition separately, as described
799
+
in <ulink url="https://github.com/postgrespro/pg_pathman/wiki/How-do-I-create-indexes"><filename>pg_pathman wiki</filename></ulink>.
790
800
791
801
</para>
792
802
@@ -1149,9 +1159,9 @@ excludes this node from the cluster, as follows:
1149
1159
<listitem>
1150
1160
<para>
1151
1161
When set to <literal>on</literal>, <filename>pg_shardman</filename>
1152
-
adds replicas to list of <xref linkend="guc-synchronous-standby-names">,
1153
-
enabling synchronous replication. This parameter should not be changed
1154
-
if any replicas exist.
1162
+
adds replicas to the list of <xref linkend="guc-synchronous-standby-names">,
1163
+
enabling synchronous replication. This parameter should not be changed
1164
+
if any replicas exist.
1155
1165
</para>
1156
1166
<para>
1157
1167
Default: <literal>off</literal>
@@ -1174,9 +1184,10 @@ excludes this node from the cluster, as follows:
1174
1184
Connection string for the shardlord. You can use all the options that
1175
1185
libpq accepts in connection strings, as described in <xref linkend="libpq-paramkeywords">.
1176
1186
You must ensure that the node is accessed on behalf of a superuser.
1177
-
This GUC must be set on shardlord itself; you can also optionally set
1178
-
it on worker nodes, in that case you can execute cluster management
1179
-
functions on workers and they will be redirected to shardlord automatically.
1187
+
This variable must be set on the shardlord itself. You can also optionally set
1188
+
it on worker nodes if you would like to execute cluster management
1189
+
functions on worker nodes. In this case, these commands will be automatically
1190
+
redirected to the shardlord.
1180
1191
</para>
1181
1192
<para>
1182
1193
This parameter can only be set in the <filename>postgresql.conf</>
@@ -1721,24 +1732,28 @@ excludes this node from the cluster, as follows:
1721
1732
</term>
1722
1733
<listitem>
1723
1734
<para>
1724
-
Execute SQL statement on all nodes.
1735
+
Execute an SQL statement on all nodes.
1725
1736
</para>
1726
1737
<para>Arguments:
1727
1738
</para>
1728
1739
<itemizedlist spacing="compact">
1729
1740
<listitem>
1730
1741
<para>
1731
-
<parameter>sql</parameter> — Statement to execute.
1742
+
<parameter>sql</parameter> — the statement to execute.
1732
1743
</para>
1733
1744
</listitem>
1734
1745
<listitem>
1735
1746
<para>
1736
-
<parameter>use_2pc</parameter> — use two-phase commit?
1747
+
<parameter>use_2pc</parameter> — defines whether to use
1748
+
two-phase commit. The default value is inherited from
1749
+
the <xref linkend="guc-postgres-fdw-use-twophase"> setting.
1737
1750
</para>
1738
1751
</listitem>
1739
1752
<listitem>
1740
1753
<para>
1741
-
<parameter>including_shardlord</parameter> — run statement on shardlord too?
0 commit comments