Skip to content
Permalink
Browse files

postgres provider: fix quoting

  • Loading branch information
jef-n committed Oct 14, 2012
1 parent 2d0229e commit d1a66b96a41c64016266401963d25d509987e4ce
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/providers/postgres/qgspostgresconn.cpp
@@ -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
{

0 comments on commit d1a66b9

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