Fix postgres connection in bdsqlwiz