We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c8aa777 commit 4562b04Copy full SHA for 4562b04
src/providers/postgres/qgspostgresconn.cpp
@@ -866,7 +866,7 @@ QString QgsPostgresConn::postgisVersion()
866
867
mGotPostgisVersion = true;
868
869
- result = PQexec( "SELECT 'pointcloud_columns'::regclass", false );
+ result = PQexec( "SELECT oid FROM pg_catalog.pg_extension WHERE extname = 'pointcloud_postgis'", false );
870
mPointcloudAvailable = result.PQntuples() == 1;
871
872
return mPostgisVersionInfo;
0 commit comments