]> git.sur5r.net Git - bacula/bacula/commit
Fix #4062 on make_catalog_backup.pl script when user/password are empty
authorEric Bollengier <eric@baculasystems.com>
Thu, 12 Apr 2012 12:01:14 +0000 (14:01 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 12 Apr 2012 12:04:58 +0000 (14:04 +0200)
commit68b4c4436a6e1285c4407ce315849a197780127c
tree87710db5cacb766e411bfe374f8c83996f1b6324
parentf467196b9eacbef257ff94049351567873d55cd6
Fix #4062 on make_catalog_backup.pl script when user/password are empty

The make_catalog_backup.pl sets PGUSER and PGPASSWORD env vars even if they
are not set in the bacula config. This leads to an error if postgresql is used
with IDENT authentification.

The following error message is printed:
---
pg_dump: [archiver (db)] connection to database "bacula" failed: FATAL: no
PostgreSQL user name specified in startup packet
bacula/src/cats/make_catalog_backup.pl.in