In ob-sql postgres would ignore dbport header argument. Attached is a patch that corrects this. Let me know if there are any modifications needed. thnx, Justin