mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
pg: fix zero being used for port when not specified in pg.Config
This commit is contained in:
parent
5142747ceb
commit
522de0871a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue