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 5768c5a.
  • Loading branch information
3nids committed Oct 26, 2016
1 parent 5768c5a commit 31fc48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -1910,7 +1910,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist )
values += delim + QString( "$%1" ).arg( defaultValues.size() + offset );
delim = ',';
fieldId << idx;
defaultValues << quotedValue( defaultValue( idx ) );
defaultValues << defaultValue( idx ).toString();
}
}

Expand Down

0 comments on commit 31fc48f

Please sign in to comment.