Skip to content

Commit

Permalink
source-postgres-heroku: always use Xmin replication
Browse files Browse the repository at this point in the history
The Standard replication does not work for tables with integer primary keys,
because the connector maps integer columns to `type: number` in the json
schemas, and changing the type in the schema causes an exception in the
connector.
  • Loading branch information
psFried committed Jul 21, 2023
1 parent 311f1a9 commit 8b57fae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG AIRBYTE_TO_FLOW_TAG="dev"
FROM ghcr.io/estuary/airbyte-to-flow:$AIRBYTE_TO_FLOW_TAG as airbyte-to-flow

FROM airbyte/source-postgres:2.0.33
FROM airbyte/source-postgres:3.0.2

COPY --from=airbyte-to-flow /airbyte-to-flow ./
ENTRYPOINT ["/airbyte/airbyte-to-flow", "--connector-entrypoint", "/airbyte/base.sh"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"properties": {
"method": {
"type": "string",
"default": "Standard",
"const": "Standard"
"default": "Xmin",
"const": "Xmin"
}
},
"default": {
"method": "Standard"
"method": "Xmin"
}
},
"jdbc_url_params": {
Expand Down

0 comments on commit 8b57fae

Please sign in to comment.