File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -868,12 +868,15 @@ QString QgsPostgresConn::postgisVersion()
868
868
869
869
mGotPostgisVersion = true ;
870
870
871
- QgsDebugMsg ( " Checking for pointcloud support" );
872
- result = PQexec ( " SELECT oid FROM pg_catalog.pg_extension WHERE extname = 'pointcloud_postgis'" , false );
873
- if ( result.PQntuples () == 1 )
871
+ if ( mPostgresqlVersion >= 90000 )
874
872
{
875
- mPointcloudAvailable = true ;
876
- QgsDebugMsg ( " Pointcloud support available!" );
873
+ QgsDebugMsg ( " Checking for pointcloud support" );
874
+ result = PQexec ( " SELECT oid FROM pg_catalog.pg_extension WHERE extname = 'pointcloud_postgis'" , false );
875
+ if ( result.PQntuples () == 1 )
876
+ {
877
+ mPointcloudAvailable = true ;
878
+ QgsDebugMsg ( " Pointcloud support available!" );
879
+ }
877
880
}
878
881
879
882
return mPostgisVersionInfo ;
You can’t perform that action at this time.
0 commit comments