pg: fix zero being used for port when not specified in pg.Config
parent
5142747ceb
commit
522de0871a
|
@ -20,7 +20,7 @@ struct C.PGResult { }
|
|||
pub struct Config {
|
||||
pub:
|
||||
host string
|
||||
port int
|
||||
port int = 5432
|
||||
user string
|
||||
password string
|
||||
dbname string
|
||||
|
|
Loading…
Reference in New Issue