mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-03 00:04:47 -04:00
fix error
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
This commit is contained in:
parent
9b58c9d973
commit
9cddecd8be
@ -5236,7 +5236,7 @@ QString QgsPostgresProvider::htmlMetadata() const
|
||||
estimateRowCount = resRowCount.PQgetvalue( 0, 0 ).toLongLong();
|
||||
}
|
||||
|
||||
const QString sqlSpatialIndex = QStringLiteral( "SELECT * FROM pg_indexes WHERE schemaname = %1 AND tablename = %2 AND indexdef LIKE USING %gist%'" )
|
||||
const QString sqlSpatialIndex = QStringLiteral( "SELECT * FROM pg_indexes WHERE schemaname = %1 AND tablename = %2 AND indexdef LIKE 'USING %gist%'" )
|
||||
.arg( QgsPostgresConn::quotedValue( mSchemaName ), QgsPostgresConn::quotedValue( mTableName ) );
|
||||
|
||||
QgsPostgresResult resSpatialIndexes( connectionRO()->LoggedPQexec( "QgsPostgresProvider", sqlSpatialIndex ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user