Fri Jan 5 11:11:29 PST 2007
- Previous message: [Slony1-commit] By devrim: - Add docs package (It should be added before but...)
- Next message: [Slony1-commit] By cbbrowne: Describe use of "altperl" scripts to drop a table from
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message: ----------- Describe use of "altperl" scripts to drop a table from replication in the section on "dropping things." Per Mark Stosberg. Modified Files: -------------- slony1-engine/doc/adminguide: adminscripts.sgml (r1.43 -> r1.44) dropthings.sgml (r1.16 -> r1.17) -------------- next part -------------- Index: adminscripts.sgml =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/doc/adminguide/adminscripts.sgml,v retrieving revision 1.43 retrieving revision 1.44 diff -Ldoc/adminguide/adminscripts.sgml -Ldoc/adminguide/adminscripts.sgml -u -w -r1.43 -r1.44 --- doc/adminguide/adminscripts.sgml +++ doc/adminguide/adminscripts.sgml @@ -165,7 +165,7 @@ &slony1; cluster.</para> </sect3> -<sect3><title>slonik_drop_table</title> +<sect3 id="slonik-drop-table"><title>slonik_drop_table</title> <para>Generates Slonik script to drop a table from replication. Requires, as input, the ID number of the table (available from table Index: dropthings.sgml =================================================================== RCS file: /usr/local/cvsroot/slony1/slony1-engine/doc/adminguide/dropthings.sgml,v retrieving revision 1.16 retrieving revision 1.17 diff -Ldoc/adminguide/dropthings.sgml -Ldoc/adminguide/dropthings.sgml -u -w -r1.16 -r1.17 --- doc/adminguide/dropthings.sgml +++ doc/adminguide/dropthings.sgml @@ -82,9 +82,23 @@ </sect2> <sect2><title> Dropping A Table From Replication</title> - <indexterm><primary>dropping a table from replication</primary></indexterm> +<sect3><title> Using the altperl tools </title> + +<para> +If the <link linkend="altperl"> altperl </link> utilities are +installed, you can use the <link linkend="slonik-drop-table"> +slonik_drop_table </link> helper script to drop a table from +replication. Simply run <command>slonik_drop_table</command> with no +arguments to review the correct usage of the script. After dropping +the table, you should also remove it from +<filename>slon_tools.conf</filename>. +</para> + +</sect3> +<sect3><title> Using Direct slonik commands </title> + <para>In &slony1; 1.0.5 and above, there is a Slonik command <xref linkend="stmtsetdroptable"> that allows dropping a single table from replication without forcing the user to drop the entire replication @@ -115,6 +129,7 @@ three queries using <xref linkend="stmtddlscript"> could do that; see <xref linkend="ddlchanges"> for more details. Also possible would be to connect to each database and submit the queries by hand.</para> +</sect3> </sect2> <sect2><title>Dropping A Sequence From Replication</title>
- Previous message: [Slony1-commit] By devrim: - Add docs package (It should be added before but...)
- Next message: [Slony1-commit] By cbbrowne: Describe use of "altperl" scripts to drop a table from
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list