Skip to content
Permalink
Browse files

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

…char columns"

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

0 comments on commit 31fc48f

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