We have column names with underscores, thank you very much.
authorGreg Sabino Mullane <greg@endpoint.com>
Thu, 10 May 2012 19:39:33 +0000 (15:39 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Thu, 10 May 2012 19:39:33 +0000 (15:39 -0400)
bucardo

diff --git a/bucardo b/bucardo
index f32573c2c3fc1424e3b238caf9579fc24fb82b09..ffaac25bc3f2d7c6486982287f2be0639406c7da 100755 (executable)
--- a/bucardo
+++ b/bucardo
@@ -4214,7 +4214,7 @@ sub update_sync {
             my ($setting,$value) = (lc $1,$2);
 
             ## No funny characters please, just boring column names
-            $setting =~ /^[a-z]+$/ or die "Invalid setting: $setting\n";
+            $setting =~ /^[a-z_]+$/ or die "Invalid setting: $setting\n";
 
             ## If we have not already, grab the current information for this sync
             ## We also use this to get the list of valid column names to modify