fixing postgres to use no-tcl and re-ordering