mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug #609581 - Gnucash 2.3.8 offers to create db and then fails to do so
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19824 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fb53d8a463
commit
5b180dec10
@ -976,7 +976,7 @@ gnc_dbi_postgres_session_begin( QofBackend *qbe, QofSession *session,
|
||||
qof_backend_set_error( qbe, ERR_BACKEND_SERVER_ERR );
|
||||
goto exit;
|
||||
}
|
||||
dresult = dbi_conn_queryf( be->conn, "CREATE DATABASE %s WITH ENCODING 'UTF8'", dbnamelc );
|
||||
dresult = dbi_conn_queryf( be->conn, "CREATE DATABASE %s WITH TEMPLATE template0 ENCODING 'UTF8'", dbnamelc );
|
||||
if ( dresult == NULL )
|
||||
{
|
||||
PERR( "Unable to create database '%s'\n", dbname );
|
||||
|
Loading…
Reference in New Issue
Block a user