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

Commit 86242c1

Browse files
author
Liudmila Mantrova
committed
DOC: fixed example for make_table_local function
1 parent bf09d63 commit 86242c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/multimaster.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ of tables without primary keys by setting the <varname>multimaster.ignore_tables
127127
</listitem>
128128
</itemizedlist>
129129
<para>If you have any data that must be present on one of the nodes only, you can exclude a particular table from replication, as follows:
130-
<programlisting>SELECT * FROM <function>mtm.make_table_local</function>(::regclass::oid) </programlisting>
131-
where <literal>regclass</literal> is the name of the table and <literal>oid</literal> is the unique table identifier.</para>
130+
<programlisting>SELECT * FROM <function>mtm.make_table_local</function>('table_name') </programlisting>
131+
</para>
132132
</sect2>
133133

134134
<sect2 id="multimaster-architecture">

0 commit comments

Comments
 (0)