Skip to content

Commit

Permalink
Revert "[Postgres] fix writing default value when primary key has var…
Browse files Browse the repository at this point in the history
…char columns"

This reverts commit f456932.
  • Loading branch information
3nids committed Oct 26, 2016
1 parent f456932 commit 642e4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -1872,7 +1872,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist )
values += delim + QStringLiteral( "$%1" ).arg( defaultValues.size() + offset );
delim = ',';
fieldId << idx;
defaultValues << quotedValue( defaultValue( idx ) );
defaultValues << defaultValue( idx ).toString();
}
}

Expand Down

0 comments on commit 642e4a4

Please sign in to comment.