Commit Graph

4 Commits (fef34790bb73b12b8b11daa45f17bd30fe30f4f0)

Author SHA1 Message Date
Giteabot f7567f798d
Fix incorrect pgsql conn builder behavior () ()
Backport  by @wxiaoguang

Fix  and fix the tests

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Giteabot c074af6a6d
refactor postgres connection string building () ()
Backport  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: 

Co-authored-by: Moritz Poldrack <33086936+mpldr@users.noreply.github.com>
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files ()
Change all license headers to comply with REUSE specification.

Fix 

Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Lunny Xiao f83db078f0 Move database settings from models to setting ()
* move database settings from models to setting

* update docs

* fix checkout pr

* fix tests

* fix lint

* remove unsupported tidb options

* correct wrong variable name

* remove tidb totally