Skip to content

Commit

Permalink
Update SearchLightPostgreSQL.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfliegner authored Aug 11, 2022
1 parent 693d812 commit a64ac8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SearchLightPostgreSQL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function SearchLight.connect(conn_data::Dict = SearchLight.config.db_config_sett
conn_data[key] !== nothing && push!(dns, string("$key=", conn_data[key]))
end

haskey(conn_data, "database") && push!(dns, string("dbname=", conn_data["database"]
haskey(conn_data, "database") && push!(dns, string("dbname=", conn_data["database"]))
haskey(conn_data, "username") && push!(dns, string("user=", conn_data["username"]))

push!(CONNECTIONS, LibPQ.Connection(join(dns, " ")))[end]
Expand Down

0 comments on commit a64ac8c

Please sign in to comment.