Document strict_checking for tables, too.
authorDavid E. Wheeler <david@justatheory.com>
Wed, 2 Oct 2013 21:57:50 +0000 (14:57 -0700)
committerDavid E. Wheeler <david@justatheory.com>
Wed, 2 Oct 2013 21:57:50 +0000 (14:57 -0700)
Allow it to be passed to `add table` as well as `update table`.

Ref #57.

bucardo

diff --git a/bucardo b/bucardo
index 97e43068314a092dca0c999c94a708779d07e698..101ea7680926cfd4113cafd4f1fa0ed1c7fdd583 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -2973,6 +2973,7 @@ sub add_table {
         analyze_after_copy       analyze_after_copy   TF               null
         makedelta                makedelta            0                null
         herd|relgroup            herd                 0                skip
+        strict_checking          strict_checking      TF               1
     };
 
     my ( $dbcols, $cols, $phs, $vals, $extra ) = process_simple_args({
@@ -9336,6 +9337,14 @@ Turns makedelta magic on or off. Value is a list of databases which need makedel
 for this table. Value can also be "on" to enable makedelta for all databases. 
 Defaults to "off".
 
+=item C<strict_check>
+
+Boolean indicating whether or not to be strict when comparing the table
+between syncs. If the columns have different names or data types, the
+validation will fail. But perhaps the columns are allowed to have different
+names or data types. If so, disable C<strict_check> and column diffrences will
+result in warnings rather than failing the validation. Defaults to true.
+
 =back
 
 =head3 add sequence
@@ -9621,10 +9630,10 @@ default. Optional.
 =item C<strict_check>
 
 Boolean indicating whether or not to be strict when comparing tables in the
-sync. If the columns have different names or data types, the sync will fail.
-But perhaps the columns are allowed to have different names or data types. If
-so, disable C<strict_check> and column diffrences will result in warnings
-rather than failing the validation. Defaults to true.
+sync. If the columns have different names or data types, the validation will
+fail. But perhaps the columns are allowed to have different names or data
+types. If so, disable C<strict_check> and column diffrences will result in
+warnings rather than failing the validation. Defaults to true.
 
 =back
 
@@ -10250,10 +10259,10 @@ Boolean indicating whether or not to rebuild indexes after every sync.
 =item C<strict_check>
 
 Boolean indicating whether or not to be strict when comparing tables in the
-sync. If the columns have different names or data types, the sync will fail.
-But perhaps the columns are allowed to have different names or data types. If
-so, disable C<strict_check> and column diffrences will result in warnings
-rather than failing the validation. Defaults to true.
+sync. If the columns have different names or data types, the validation will
+fail. But perhaps the columns are allowed to have different names or data
+types. If so, disable C<strict_check> and column diffrences will result in
+warnings rather than failing the validation. Defaults to true.
 
 =back
 
@@ -10306,6 +10315,14 @@ The table will be removed from any other relation groups.
 
 Specifies which databases need makedelta enabled for this table.
 
+=item C<strict_check>
+
+Boolean indicating whether or not to be strict when comparing the table
+between syncs. If the columns have different names or data types, the
+validation will fail. But perhaps the columns are allowed to have different
+names or data types. If so, disable C<strict_check> and column diffrences will
+result in warnings rather than failing the validation. Defaults to true.
+
 =back
 
 =head3 update sequence