Skip to content
Permalink
Browse files

postgres provider: don't warn, when queries return 'numeric' constants

  • Loading branch information
jef-n committed Sep 4, 2014
1 parent 8037585 commit 962b6d13ae12fe4b3ccd6bd4d6fae19059685dc8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -702,7 +702,7 @@ bool QgsPostgresProvider::loadFields()
{
fieldType = QVariant::Double;

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

0 comments on commit 962b6d1

Please sign in to comment.
You can’t perform that action at this time.