Related tdf#45775: PgSQL new DB allow empty Datasource
Declare PostgreSql in dsn stuff Change-Id: I72343bff0d5e6a65a45fc47cc1d346155330f1e5 Reviewed-on: https://gerrit.libreoffice.org/19310 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
This commit is contained in:
committed by
Lionel Elie Mamane
parent
5b791ec5e0
commit
898aff0d19
@@ -401,6 +401,7 @@ DATASOURCE_TYPE ODsnTypeCollection::determineType(const OUString& _rDsn) const
|
||||
KnownPrefix( "sdbc:mysql:jdbc:", DST_MYSQL_JDBC, false ),
|
||||
KnownPrefix( "sdbc:mysql:mysqlc:", DST_MYSQL_NATIVE, false ),
|
||||
KnownPrefix( "sdbc:mysqlc:", DST_MYSQL_NATIVE_DIRECT,false ),
|
||||
KnownPrefix( "sdbc:postgresql:", DST_POSTGRES,false ),
|
||||
|
||||
KnownPrefix( "sdbc:address:mozilla:", DST_MOZILLA, true ),
|
||||
KnownPrefix( "sdbc:address:thunderbird:", DST_THUNDERBIRD, true ),
|
||||
|
@@ -61,6 +61,7 @@ enum DATASOURCE_TYPE
|
||||
DST_MYSQL_NATIVE_DIRECT = 25,
|
||||
DST_FIREBIRD = 26,
|
||||
DST_EMBEDDED_FIREBIRD = 27,
|
||||
DST_POSTGRES = 28,
|
||||
|
||||
DST_USERDEFINE1, /// first user defined driver
|
||||
DST_USERDEFINE2,
|
||||
|
Reference in New Issue
Block a user