Merge pull request #318 from galeone/master

Fixes #317
This commit is contained in:
Jinzhu 2014-12-18 10:05:53 +08:00
commit 6f2e92e136
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 {