Skip to content

Commit 31fc48f

Browse files
committed
Revert "[Postgres] fix writing default value when primary key has varchar columns"
This reverts commit 5768c5a.
1 parent 5768c5a commit 31fc48f

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
@@ -1910,7 +1910,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist )
19101910
values += delim + QString( "$%1" ).arg( defaultValues.size() + offset );
19111911
delim = ',';
19121912
fieldId << idx;
1913-
defaultValues << quotedValue( defaultValue( idx ) );
1913+
defaultValues << defaultValue( idx ).toString();
19141914
}
19151915
}
19161916

0 commit comments

Comments
 (0)