fixed sort key calculation. postgres driver encloses bind variables in ' ' which makes the sort key calculation fail. the key calculation is done in tcl now.
fixed sort key calculations. the postgres driver puts ' ' around the bind variable. the old code performed calculations like "and sort_key = (:prev_sort_key + :next_sort_key)/2", which caused postgres to barf. this calculation is now done in tcl.
Major change.I put all database dependent parts in their directories and kept the data only in common.This is needed for the database independence and pl(pg)sql differences.
fixed issues.tcl. used db_map to handle dynamic queries. rewrote order_by bind variable to use a normal variable with a switch statement to verify the contents. for some reason the bind variable version kept enclosing the order_by variable in ' ' which is not correct.
- changed the XML parsing throughout to go through a simplified API to later upgrade XML parsing in a central place.- updated support for ns_xml 1.4, and added work-arounds for previous versions.- added installer check for ns_xml compatibility at boot time.