You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use
result, _ := DB.Query("select name,setting from pg_settings where name='extra_float_digits';")
for result.Next() {
_ = result.Scan(&name, &setting)
fmt.Println("res is ", setting)
}
The result is always 2, but in pg,the value is 3.
The text was updated successfully, but these errors were encountered:
When I use
result, _ := DB.Query("select name,setting from pg_settings where name='extra_float_digits';")
for result.Next() {
_ = result.Scan(&name, &setting)
fmt.Println("res is ", setting)
}
The result is always 2, but in pg,the value is 3.
The text was updated successfully, but these errors were encountered: