Fix error in r19822 which prevented creation of postgres databases.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19832 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
John Ralls 2010-11-18 21:21:57 +00:00
parent 29414038fe
commit 89a3d07b20

View File

@ -962,7 +962,7 @@ gnc_dbi_postgres_session_begin( QofBackend *qbe, QofSession *session,
if ( create )
{
dbi_result dresult;
result = dbi_conn_set_option( be->conn, "dbnamelc", "postgres" );
result = dbi_conn_set_option( be->conn, "dbname", "postgres" );
if ( result < 0 )
{
PERR( "Error setting 'dbname' option\n" );