[postgres] Add commits of PostgresConnection back to distinguish with debezium's origin class (#2839)

pull/3033/head
Hongshun Wang 1 year ago committed by GitHub
parent e6bb8e9a55
commit 568ed79005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,6 +54,14 @@ import java.util.concurrent.atomic.AtomicLong;
* {@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 {

Loading…
Cancel
Save