Description
In some cases DriverWrapper registered by DriverRegistry which causes exception in PostgresConnectionProvider:
https://github.com/apache/spark/blob/371b35d2e0ab08ebd853147c6673de3adfad0553/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/jdbc/DriverRegistry.scala#L53