Fix bug with non default parameters (pgsql for example)