1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
|
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
-
- This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
- project.
-
- Copyright (C) 1998-2018 OpenLink Software
-
- This project is free software; you can redistribute it and/or modify it
- under the terms of the GNU General Public License as published by the
- Free Software Foundation; only version 2 of the License, dated June 1991.
-
- This program is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-
-->
<refentry id="fn_REPL_SNP_SERVER">
<refmeta>
<refentrytitle>REPL_SNP_SERVER</refentrytitle>
<refmiscinfo>repl</refmiscinfo>
</refmeta>
<refnamediv>
<refname>REPL_SNP_SERVER</refname>
<refpurpose>Define bi-directional snapshot replication server name</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis id="fsyn_REPL_SNP_SERVER">
<funcprototype id="fproto_REPL_SNP_SERVER">
<funcdef>varchar <function>REPL_SNP_SERVER</function></funcdef>
<paramdef>in <parameter>dsn</parameter> varchar</paramdef>
<paramdef>in <parameter>uid</parameter> varchar</paramdef>
<paramdef>in <parameter>pwd</parameter> varchar</paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="desc_REPL_SNP_SERVER">
<title>Description</title>
<para>This function should be used to define a server for bi-directional snapshot replication.
</para>
</refsect1>
<refsect1 id="params_REPL_SNP_SERVER"><title>Parameters</title>
<refsect2><title>dsn</title>
<para>Dsn is a data source name.</para></refsect2>
<refsect2><title>uid</title>
<para>Uid is data source user name.</para></refsect2>
<refsect2><title>pwd</title>
<para>Uid is data source password.</para></refsect2>
</refsect1>
<refsect1 id="ret_REPL_SNP_SERVER"><title>Return Types</title>
<para>REPL_SNP_SERVER() returns remote server name which can be used
in calls to
<function>REPL_CREATE_SNAPSHOT_SUB()</function>,
<function>REPL_DROP_SNAPSHOT_SUB()</function> and
<function>REPL_INIT_SNAPSHOT_SUB()</function>
functions.
</para>
</refsect1>
<!--
<refsect1 id="errors_REPL_SNP_SERVER">
<title>Errors</title>
<para>This function can generate the following errors:</para>
<errorcode></errorcode>
</refsect1>
-->
<refsect1 id="examples_REPL_SNP_SERVER">
<title>Examples</title>
<example id="ex_REPL_SNP_SERVER"><title>Defining bi-directional snapshot replication server</title>
<para>The following statement defines bi-directional replication server
for server with DSN 'localhost:1121':</para>
<screen>
SQL> REPL_SNP_SERVER ('localhost:1121', 'dba', 'dba');
</screen>
</example>
</refsect1>
<refsect1 id="seealso_REPL_SNP_SERVER">
<title>See Also</title>
<para><link linkend="fn_REPL_CREATE_SNAPSHOT_SUB"><function>REPL_CREATE_SNAPSHOT_SUB()</function></link></para>
<para><link linkend="fn_REPL_CREATE_SNAPSHOT_PUB"><function>REPL_CREATE_SNAPSHOT_PUB()</function></link></para>
<para><link linkend="fn_REPL_DROP_SNAPSHOT_SUB"><function>REPL_DROP_SNAPSHOT_SUB()</function></link></para>
<para><link linkend="fn_REPL_DROP_SNAPSHOT_PUB"><function>REPL_DROP_SNAPSHOT_PUB()</function></link></para>
<para><link linkend="fn_REPL_INIT_SNAPSHOT"><function>REPL_INIT_SNAPSHOT()</function></link></para>
<para><link linkend="fn_REPL_UPDATE_SNAPSHOT"><function>REPL_DROP_SNAPSHOT_PUB()</function></link></para>
<para><link linkend="fn_REPL_SERVER_NAME"><function>REPL_SERVER_NAME()</function></link></para>
</refsect1>
</refentry>
|