fixed sort key calculations. the postgres driver puts ' ' around the bind variable. the old code performed calculations like "and sort_k…
Show more
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.
Show less