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
  • Loading branch information
loserwang1024 committed Dec 7, 2023
1 parent f15faac commit 78fefd7
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.6.4-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 78fefd7

Please sign in to comment.