Skip to content

Commit

Permalink
[postgres] Add commits of PostgresConnection back to distinguish with…
Browse files Browse the repository at this point in the history
… debezium's origin class (apache#2839)
  • Loading branch information
loserwang1024 authored and zhangchaoming.zcm committed Jan 3, 2025
1 parent 69a2811 commit cdae972
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
* {@link JdbcConnection} connection extension used for connecting to Postgres instances.
*
* @author Horia Chiorean
* <p>Copied from Debezium 1.9.2-Final with two additional methods:
* <ul>
* <li>Constructor PostgresConnection( Configuration config, PostgresValueConverterBuilder
* valueConverterBuilder, ConnectionFactory factory) to allow passing a custom
* ConnectionFactory
* <li>override connection() to return a unwrapped PgConnection (otherwise, it will complain
* about HikariProxyConnection cannot be cast to class org.postgresql.core.BaseConnection)
* </ul>
*/
public class PostgresConnection extends JdbcConnection {

Expand Down

0 comments on commit cdae972

Please sign in to comment.