Skip to content

Commit

Permalink
postgres provider: don't warn, when queries return 'numeric' constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 4, 2014
1 parent 8037585 commit 962b6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -702,7 +702,7 @@ bool QgsPostgresProvider::loadFields()
{
fieldType = QVariant::Double;

if ( formattedFieldType == "numeric" )
if ( formattedFieldType == "numeric" || formattedFieldType == "" )
{
fieldSize = -1;
fieldPrec = -1;
Expand Down

0 comments on commit 962b6d1

Please sign in to comment.