File tree 3 files changed +7
-2
lines changed
airbyte-cdk/java/airbyte-cdk
datastore-postgres/src/main/kotlin/io/airbyte/cdk/db
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ corresponds to that version.
174
174
175
175
| Version | Date | Pull Request | Subject |
176
176
| :-----------| :-----------| :------------------------------------------------------------| :---------------------------------------------------------------------------------------------------------------------------------------------------------------|
177
+ | 0.47.1 | 2024-09-27 | [ \# 45397] ( https://github.com/airbytehq/airbyte/pull/45397 ) | Allow logical replication from Postgres 16 read-replicas|
177
178
| 0.47.0 | 2024-09-26 | [ \# 42030] ( https://github.com/airbytehq/airbyte/pull/42030 ) | minor refactor |
178
179
| 0.46.1 | 2024-09-20 | [ \# 45700] ( https://github.com/airbytehq/airbyte/pull/45700 ) | Destinations: Fix bug in parsing jsonschema |
179
180
| 0.46.0 | 2024-09-18 | [ \# 45432] ( https://github.com/airbytehq/airbyte/pull/45432 ) | upgrade all libraries to latest version |
Original file line number Diff line number Diff line change 1
- version = 0.47.0
1
+ 0.47.1
Original file line number Diff line number Diff line change @@ -18,7 +18,11 @@ object PostgresUtils {
18
18
val jsonNodes =
19
19
database.bufferedResultSetQuery(
20
20
{ conn: Connection ->
21
- conn.createStatement().executeQuery(" select * from pg_current_wal_lsn()" )
21
+ conn
22
+ .createStatement()
23
+ .executeQuery(
24
+ " SELECT CASE WHEN pg_is_in_recovery() THEN pg_last_wal_receive_lsn() ELSE pg_current_wal_lsn() END AS pg_current_wal_lsn;"
25
+ )
22
26
},
23
27
{ resultSet: ResultSet -> JdbcUtils .defaultSourceOperations.rowToJson(resultSet) }
24
28
)
You can’t perform that action at this time.
0 commit comments