Skip to content

Commit

Permalink
postgres provider: also consider ltree columns
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 22, 2011
1 parent 985ffbd commit fe65ed7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ bool QgsPostgresProvider::loadFields()
{
fieldType = QVariant::Double;
fieldSize = -1;
fieldPrec = 0;
fieldPrec = -1;
}
else if ( fieldTypeName == "numeric" )
{
Expand All @@ -997,6 +997,7 @@ bool QgsPostgresProvider::loadFields()
fieldTypeName == "bool" ||
fieldTypeName == "geometry" ||
fieldTypeName == "money" ||
fieldTypeName == "ltree" ||
fieldTypeName.startsWith( "time" ) ||
fieldTypeName.startsWith( "date" ) )
{
Expand Down

0 comments on commit fe65ed7

Please sign in to comment.