Skip to content

Commit

Permalink
Make warnings for incompat data type readable
Browse files Browse the repository at this point in the history
  • Loading branch information
nullbio committed Oct 16, 2016
1 parent 00134a4 commit a25e358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bdb/drivers/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ func (p *PostgresDriver) TranslateColumnType(c bdb.Column) bdb.Column {
c.DBType = "hstore"
} else {
c.Type = "string"
fmt.Printf("Warning: Incompatible data type detected: %s", c.UDTName)
fmt.Printf("Warning: Incompatible data type detected: %s\n", c.UDTName)
}
default:
c.Type = "null.String"
Expand Down Expand Up @@ -348,7 +348,7 @@ func (p *PostgresDriver) TranslateColumnType(c bdb.Column) bdb.Column {
c.DBType = "hstore"
} else {
c.Type = "string"
fmt.Printf("Warning: Incompatible data type detected: %s", c.UDTName)
fmt.Printf("Warning: Incompatible data type detected: %s\n", c.UDTName)
}
default:
c.Type = "string"
Expand Down

0 comments on commit a25e358

Please sign in to comment.