Jose, I had some work done on this back in November, so I took some time to clean it up, finished off some more and tested a patch. I hope no one else has invested much time in these pgsql bugs yet, but I believe this will close both this one and 272191. I noticed a few of the bugs were fixed already in 1.36.1-1, so I left those out of the patch.
This patch covers a bunch of things, but essentially makes the bacula-director-pgsql package very close to complete now, and handles remote pg hosts. Changelog included in the patch. At last you'll end up with a working bacula install with pgsql. cheers, Jamie
bacula-pgsql-debian.patch
Description: Binary data