retitle 546246 Fails to pass -T template0 with dbc_pgsql_createdb_encoding
reassign 546246 dbconfig-common
thanks

Sean,

I recently added, to bacula-director-pgsql.postinst:

dbc_pgsql_createdb_encoding="SQL_ASCII"

Unfortunately, when I attempt to install bacula-director-pgsql on my
test environment, I get this error:

createdb: database creation failed: ERROR:  new encoding (SQL_ASCII)
is incompatible with the encoding of the template database (LATIN1)
HINT:  Use the same encoding as in the template database, or use
template0 as template.

The hint of giving -T template0 in the call to createdb is an accurate
one.

I believe that dbconfig-common ought to always pass -T template0 when
dbc_pgsql_createdb_encoding is given, and never otherwise.

Thanks,

-- John



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to