Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not use pcpatch type name when not available
  • Loading branch information
strk authored and nyalldawson committed Dec 4, 2019
1 parent 0223fd8 commit a9ad76e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -406,8 +406,11 @@ QStringList QgsPostgresConn::supportedSpatialTypes() const
QStringList supportedSpatialTypes;

supportedSpatialTypes << quotedValue( "geometry" )
<< quotedValue( "geography" )
<< quotedValue( "pcpatch" );
<< quotedValue( "geography" );

if ( hasPointcloud() )
supportedSpatialTypes << quotedValue( "pcpatch" );

if ( hasRaster() )
supportedSpatialTypes << quotedValue( "raster" );

Expand Down

0 comments on commit a9ad76e

Please sign in to comment.