pg: fix zero being used for port when not specified in pg.Config

pull/3944/head
Ian M. Jones 2020-03-06 17:40:24 +00:00 committed by GitHub
parent 5142747ceb
commit 522de0871a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ struct C.PGResult { }
pub struct Config { pub struct Config {
pub: pub:
host string host string
port int port int = 5432
user string user string
password string password string
dbname string dbname string