From: Terry B. <ter...@ya...> - 2010-07-14 17:15:22
|
mdb-export does not sanitize the namespace supplied by the user, which is good, and namespace like 'gc.' acts as a schema in postgres. This patch makes mdb-schema behave like mdb-export, and not sanitize the namespace. Previously mdb-schema would turn 'gc.' into 'gc_', which is unhelpful. As the user supplies the namespace, I don't think the user can complain if it's unsanitary :-) Also, this patch changes the behavior of sanitize_name; when the name starts with a digit the digit is *preceded* by an '_', rather than *replaced* by the '_'. So "2003 2004 Inventory" becomes "_2003_2004_Inventory", and not "_003_2004_Inventory". Cheers -Terry |