Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Survive lack of permissions on pointcloud_columns (3.10 backport) #33146

Merged
merged 4 commits into from
Dec 4, 2019

Conversation

strk
Copy link
Contributor

@strk strk commented Nov 29, 2019

This is a backport of #33118

@strk strk self-assigned this Nov 29, 2019
@@ -1096,8 +1103,19 @@ QString QgsPostgresConn::postgisVersion() const
if ( mPostgresqlVersion >= 90000 )
{
QgsDebugMsg( QStringLiteral( "Checking for pointcloud support" ) );
result = PQexec( QStringLiteral( "SELECT oid FROM pg_catalog.pg_extension WHERE extname = 'pointcloud_postgis'" ), false );
if ( result.PQntuples() == 1 )
// NOTE: CASE syntax is used to avoid an exception when
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment outdated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Removed (in both places)

@strk strk force-pushed the 3.10-pointcloud-permissions branch from 1449ef8 to 391a13e Compare December 3, 2019 08:06
@nyalldawson nyalldawson merged commit 5a8dfa6 into qgis:release-3_10 Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants