Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
postgres provider: fix quoting
  • Loading branch information
jef-n committed Oct 14, 2012
1 parent 2d0229e commit d1a66b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -1025,7 +1025,9 @@ void QgsPostgresConn::retrieveLayerTypes( QgsPostgresLayerProperty &layerPropert

if ( !layerProperty.schemaName.isEmpty() )
{
table = QString( "%1.%2" ).arg( quotedIdentifier( layerProperty.schemaName ) ).arg( layerProperty.tableName );
table = QString( "%1.%2" )
.arg( quotedIdentifier( layerProperty.schemaName ) )
.arg( quotedIdentifier( layerProperty.tableName ) );
}
else
{
Expand Down

0 comments on commit d1a66b9

Please sign in to comment.