Skip to content
Snippets Groups Projects
Unverified Commit 27128f26 authored by Christophe Monniez's avatar Christophe Monniez
Browse files

[FIX] db: remove usage of get_dsn_parameters

get_dsn_parameters may return in some edges cases (like on runbot)
and empty value for the user.
So it should not be used here, instead, a SQL query is able to provide
the currently connected user.
Also, get_dsn_parameters is new in psycopg 2.7.
parent 1c4d5411
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment