Now works with postgresql on csh servers