Skip to content

Commit 642e4a4

Browse files
committedOct 26, 2016
Revert "[Postgres] fix writing default value when primary key has varchar columns"
This reverts commit f456932.
1 parent f456932 commit 642e4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1872,7 +1872,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist )
18721872
values += delim + QStringLiteral( "$%1" ).arg( defaultValues.size() + offset );
18731873
delim = ',';
18741874
fieldId << idx;
1875-
defaultValues << quotedValue( defaultValue( idx ) );
1875+
defaultValues << defaultValue( idx ).toString();
18761876
}
18771877
}
18781878

0 commit comments

Comments
 (0)
Please sign in to comment.