2009/7/21 Shawn Heisey
<pgsql@elyograg.org>
To the person with the Cyrillic name that also responded ... how much effort would be involved in writing the delegating driver you described?
It depends on how you configure which driver is used - with DataSource or DriverManager URL. Simply wrapping a Connection would be few hundred lines of similar code that can be done in few days (few hours for "fast prototype") - I've done similar things for running tests on embedded Java DB instead of postgres used in production.
Registering new prefix in DriverManager (e.g. "jdbc:postgrespatched:url") may take some more time - one need to look into JDBC SPI.
Best regards, Vitalii Tymchyshyn.