Chris Browne cbbrowne at lists.slony.info
Fri Apr 11 08:44:24 PDT 2008
Update of /home/cvsd/slony1/slony1-engine/doc/adminguide
In directory main.slony.info:/tmp/cvs-serv16896/doc/adminguide

Modified Files:
	slonik_ref.sgml 
Log Message:
Various instances where slonik would use a default node ID of 1 have been changed to remove this.

Slonik scripts may need to be changed to indicate an EVENT NODE (or
similar) after migration to v2.0 as a result.

The slonik commands involved:

- STORE NODE - EVENT NODE
- DROP NODE - EVENT NODE
- WAIT FOR EVENT - WAIT ON
- FAILOVER - BACKUP NODE
- EXECUTE SCRIPT - EVENT NODE


Index: slonik_ref.sgml
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/doc/adminguide/slonik_ref.sgml,v
retrieving revision 1.84
retrieving revision 1.85
diff -C2 -d -r1.84 -r1.85
*** slonik_ref.sgml	11 Apr 2008 14:55:14 -0000	1.84
--- slonik_ref.sgml	11 Apr 2008 15:44:22 -0000	1.85
***************
*** 49,55 ****
        The slonik command language is format free. Commands begin with
        keywords and are terminated with a semicolon. Most commands have
!       a list of parameters, some of which have default values and are
!       therefore optional. The parameters of commands are enclosed in
!       parentheses. Each option consists of one or more keywords,
        followed by an equal sign, followed by a value. Multiple options
        inside the parentheses are separated by commas. All keywords are
--- 49,55 ----
        The slonik command language is format free. Commands begin with
        keywords and are terminated with a semicolon. Most commands have
!       a list of parameters, some of which have default values and that
!       are therefore optional. The parameters of commands are enclosed
!       in parentheses. Each option consists of one or more keywords,
        followed by an equal sign, followed by a value. Multiple options
        inside the parentheses are separated by commas. All keywords are
***************
*** 541,546 ****
         
         <listitem><para> The ID of the node used to create the configuration
! 	 event that tells all existing nodes about the new node. Default
! 	 value is 1.</para></listitem>
        </varlistentry>
       </variablelist>
--- 541,546 ----
         
         <listitem><para> The ID of the node used to create the configuration
! 	 event that tells all existing nodes about the new node.
! 	 </para></listitem>
        </varlistentry>
       </variablelist>
***************
*** 568,571 ****
--- 568,572 ----
     for this purpose.  In later versions, hopefully
     <envar>SPOOLNODE</envar> will be unavailable. </para>
+    <para> In version 2.0, the default value for <envar>EVENT NODE</envar> was removed, so a node must be specified.</para>
     </refsect1>
    </Refentry>
***************
*** 598,602 ****
        </varlistentry>
        <varlistentry><term><literal> EVENT NODE = ival </literal></term>
!        <listitem><para> Node ID of the node to generate the event; default is 1.
         </para></listitem>
        </varlistentry>
--- 599,603 ----
        </varlistentry>
        <varlistentry><term><literal> EVENT NODE = ival </literal></term>
!        <listitem><para> Node ID of the node to generate the event.
         </para></listitem>
        </varlistentry>
***************
*** 639,642 ****
--- 640,644 ----
     <refsect1> <title> Version Information </title>
      <para> This command was introduced in &slony1; 1.0 </para>
+    <para> In version 2.0, the default value for <envar>EVENT NODE</envar> was removed, so a node must be specified.</para>
     </refsect1>
    </refentry>
***************
*** 2564,2567 ****
--- 2566,2570 ----
     <refsect1> <title> Version Information </title>
      <para> This command was introduced in &slony1; 1.0 </para>
+     <para> In version 2.0, the default <envar>BACKUP NODE</envar> value of 1 was removed, so it is mandatory to provide a value for this parameter.</para>
     </refsect1>
    </refentry>
***************
*** 2617,2621 ****
       </varlistentry>
       <varlistentry><term><literal> EVENT NODE = ival </literal></term>
!       <listitem><para> (Optional) The ID of the current origin of the set.  Default value is 1.</para></listitem>
        
       </varlistentry>
--- 2620,2624 ----
       </varlistentry>
       <varlistentry><term><literal> EVENT NODE = ival </literal></term>
!       <listitem><para> (Mandatory) The ID of the current origin of the set.</para></listitem>
        
       </varlistentry>
***************
*** 2716,2719 ****
--- 2719,2726 ----
      This deals with the risk that one might request DDL changes on
      tables in multiple replication sets.</para>
+ 
+    <para> In version 2.0, the default value for <envar>EVENT
+    NODE</envar> was removed, so a node must be specified.</para>
+ 
     </refsect1>
    </refentry>
***************
*** 2834,2838 ****
        <varlistentry><term><literal> WAIT ON = ival </literal></term>
         <listitem><para> The ID of the node where the &slconfirm; table
! 	 is to be checked.  The default value is 1.</para></listitem>
         
        </varlistentry>
--- 2841,2845 ----
        <varlistentry><term><literal> WAIT ON = ival </literal></term>
         <listitem><para> The ID of the node where the &slconfirm; table
! 	 is to be checked.</para></listitem>
         
        </varlistentry>
***************
*** 2862,2865 ****
--- 2869,2876 ----
     <refsect1> <title> Version Information </title>
      <para> This command was introduced in &slony1; 1.0 </para>
+ 
+    <para> In version 2.0, the default value for <envar>WAIT ON</envar>
+    was removed, so a node must be specified.</para>
+ 
     </refsect1>
     



More information about the Slony1-commit mailing list