This commit is contained in:
Paolo Galeone 2014-12-17 22:41:00 +01:00
parent 5c9d3bb352
commit d60322978a
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func (s *postgres) PrimaryKeyTag(value reflect.Value, size int) string {
} }
func (s *postgres) ReturningStr(tableName, key string) string { func (s *postgres) ReturningStr(tableName, key string) string {
return fmt.Sprintf("RETURNING %v.%v", tableName, key) return fmt.Sprintf("RETURNING \"%v\".%v", tableName, key)
} }
func (s *postgres) SelectFromDummyTable() string { func (s *postgres) SelectFromDummyTable() string {