diff options
author | Giteabot <teabot@gitea.io> | 2023-11-02 07:19:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-01 23:19:02 +0000 |
commit | c074af6a6db83de3b1099b80f500da0c083d0587 (patch) | |
tree | 733c053a8925218497c3c8c0a6e6b47d47a18b65 /web_src | |
parent | 39596115da29f114cca8d16f32949ec59f26abfb (diff) | |
download | gitea-c074af6a6db83de3b1099b80f500da0c083d0587.tar.gz gitea-c074af6a6db83de3b1099b80f500da0c083d0587.zip |
refactor postgres connection string building (#27723) (#27869)
Backport #27723 by @mpldr
This patchset changes the connection string builder to use net.URL and
the host/port parser to use the stdlib function for splitting host from
port. It also adds a footnote about a potentially required portnumber
for postgres UNIX sockets.
Fixes: #24552
Co-authored-by: Moritz Poldrack <33086936+mpldr@users.noreply.github.com>
Diffstat (limited to 'web_src')
0 files changed, 0 insertions, 0 deletions