Skip to content
Permalink
Browse files

Revert "[Postgres] fix writing default value when primary key has var…

…char columns"

This reverts commit f456932.
  • Loading branch information
3nids committed Oct 26, 2016
1 parent f456932 commit 642e4a48c72fffb191ace1f77a55a386218ec413
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -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();
}
}

0 comments on commit 642e4a4

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