We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6629ecf commit 4343642Copy full SHA for 4343642
postgres.go
@@ -221,12 +221,12 @@ func (dialector Dialector) getSchemaCustomType(field *schema.Field) string {
221
return sqlType
222
}
223
224
-func (dialectopr Dialector) SavePoint(tx *gorm.DB, name string) error {
+func (dialector Dialector) SavePoint(tx *gorm.DB, name string) error {
225
tx.Exec("SAVEPOINT " + name)
226
return nil
227
228
229
-func (dialectopr Dialector) RollbackTo(tx *gorm.DB, name string) error {
+func (dialector Dialector) RollbackTo(tx *gorm.DB, name string) error {
230
tx.Exec("ROLLBACK TO SAVEPOINT " + name)
231
232
0 commit comments