diff options
author | zeripath <art27@cantab.net> | 2021-01-02 02:07:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-02 10:07:43 +0800 |
commit | ac88b0ee839bfbfae5759e211d0f9a69abe4d8f7 (patch) | |
tree | 9859ba50be23e00926eb973b77074ba5c1c7de7e /.editorconfig | |
parent | d44f192d3e584489de560485f871d3600f75a1cd (diff) | |
download | gitea-ac88b0ee839bfbfae5759e211d0f9a69abe4d8f7.tar.gz gitea-ac88b0ee839bfbfae5759e211d0f9a69abe4d8f7.zip |
Ensure that schema search path is set with every connection on postgres (#14131)
* Ensure that schema search path is set with every connection on postgres
Unfortunately every connection to postgres requires that the search path is
set appropriately.
This PR shadows the postgres driver to ensure that as soon as a connection
is open, the search_path is set appropriately.
Fix #14088
Signed-off-by: Andrew Thornton <art27@cantab.net>
* no golangci-lint that is not a helpful suggestion
Signed-off-by: Andrew Thornton <art27@cantab.net>
* Use Execer if available
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions