mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-04 16:02:25 -06:00
[chore]: Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1 (#2024)
This commit is contained in:
parent
b7891bb462
commit
8b71567f9e
6 changed files with 25 additions and 15 deletions
6
vendor/github.com/jackc/pgconn/config.go
generated
vendored
6
vendor/github.com/jackc/pgconn/config.go
generated
vendored
|
|
@ -366,9 +366,9 @@ func ParseConfigWithOptions(connString string, options ParseConfigOptions) (*Con
|
|||
config.TLSConfig = fallbacks[0].TLSConfig
|
||||
config.Fallbacks = fallbacks[1:]
|
||||
|
||||
passfile, err := pgpassfile.ReadPassfile(settings["passfile"])
|
||||
if err == nil {
|
||||
if config.Password == "" {
|
||||
if config.Password == "" {
|
||||
passfile, err := pgpassfile.ReadPassfile(settings["passfile"])
|
||||
if err == nil {
|
||||
host := config.Host
|
||||
if network, _ := NetworkAddress(config.Host, config.Port); network == "unix" {
|
||||
host = "localhost"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue