Skip to content
Permalink
Browse files

postgres provider: also consider ltree columns

  • Loading branch information
jef-n committed Jul 22, 2011
1 parent 985ffbd commit fe65ed76888b61354427364e8d33ca70956105c9
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -970,7 +970,7 @@ bool QgsPostgresProvider::loadFields()
{
fieldType = QVariant::Double;
fieldSize = -1;
fieldPrec = 0;
fieldPrec = -1;
}
else if ( fieldTypeName == "numeric" )
{
@@ -997,6 +997,7 @@ bool QgsPostgresProvider::loadFields()
fieldTypeName == "bool" ||
fieldTypeName == "geometry" ||
fieldTypeName == "money" ||
fieldTypeName == "ltree" ||
fieldTypeName.startsWith( "time" ) ||
fieldTypeName.startsWith( "date" ) )
{

0 comments on commit fe65ed7

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