Skip to content
Permalink
Browse files

Write the pointcloud support check in a cleaner way

  • Loading branch information
Sandro Santilli
Sandro Santilli committed May 12, 2015
1 parent c8aa777 commit 4562b049b056b9eade6eafa9c5469e6dbfdf53bc
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresconn.cpp
@@ -866,7 +866,7 @@ QString QgsPostgresConn::postgisVersion()

mGotPostgisVersion = true;

result = PQexec( "SELECT 'pointcloud_columns'::regclass", false );
result = PQexec( "SELECT oid FROM pg_catalog.pg_extension WHERE extname = 'pointcloud_postgis'", false );
mPointcloudAvailable = result.PQntuples() == 1;

return mPostgisVersionInfo;

0 comments on commit 4562b04

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