Package: dbconfig-common
Version: 1.8.37
Severity: important
Tags: patch

The database backup that is done before upgrade scripts are run
generates a zero-sized file in /var/cache/dbconfig-common when
the database type is pgsql.

The bug is in _dbc_pg_dump(), which sets
 extra="-f $dumpfile"
but overwrites this a few lines later:
 extra=`_dbc_psql_cmd_args`

A trivial fix is to use something like

 extra=`_dbc_psql_cmd_args`
 extra="-f $dumpfile $extra"

Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to