Skip to content
Permalink
Browse files

postgres provider: quote compound key columns in uri (fixes #13710)

(cherry picked from commit daa6510)
  • Loading branch information
jef-n committed Nov 1, 2015
1 parent c38e459 commit fa47c963495094848b1b10da97c52574ea4d099d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -196,7 +196,7 @@ QgsPostgresProvider::QgsPostgresProvider( QString const & uri )
QString delim;
Q_FOREACH ( int idx, mPrimaryKeyAttrs )
{
key += delim + mAttributeFields.at( idx ).name();
key += delim + quotedIdentifier( mAttributeFields.at( idx ).name() );
delim = ",";
}
}

0 comments on commit fa47c96

Please sign in to comment.