From 311f1a9e8bb2175fb20823f5afcaba357ae4b6f2 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 21 Jul 2023 14:57:01 -0400 Subject: [PATCH 1/2] source-postgres-heroku: remove always_show from spec schema --- .../connectors/source-postgres-heroku/spec.patch.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json b/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json index 5c1edf822d3f..f461ca1d0541 100644 --- a/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json +++ b/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json @@ -94,7 +94,6 @@ }, "client_certificate": { "airbyte_secret": true, - "always_show": true, "description": "Client certificate", "multiline": true, "order": 2, @@ -103,7 +102,6 @@ }, "client_key": { "airbyte_secret": true, - "always_show": true, "description": "Client key", "multiline": true, "order": 3, @@ -143,7 +141,6 @@ }, "client_certificate": { "airbyte_secret": true, - "always_show": true, "description": "Client certificate", "multiline": true, "order": 2, @@ -152,7 +149,6 @@ }, "client_key": { "airbyte_secret": true, - "always_show": true, "description": "Client key", "multiline": true, "order": 3, From 8b57faeb85570498f36057e4f6412394dbc156c2 Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 21 Jul 2023 15:45:45 -0400 Subject: [PATCH 2/2] source-postgres-heroku: always use Xmin replication 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. --- .../connectors/source-postgres-heroku/Dockerfile | 2 +- .../connectors/source-postgres-heroku/spec.patch.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/airbyte-integrations/connectors/source-postgres-heroku/Dockerfile b/airbyte-integrations/connectors/source-postgres-heroku/Dockerfile index 9daad11aa682..614452820e82 100644 --- a/airbyte-integrations/connectors/source-postgres-heroku/Dockerfile +++ b/airbyte-integrations/connectors/source-postgres-heroku/Dockerfile @@ -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"] diff --git a/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json b/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json index f461ca1d0541..951f6fdf7527 100644 --- a/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json +++ b/airbyte-integrations/connectors/source-postgres-heroku/spec.patch.json @@ -6,12 +6,12 @@ "properties": { "method": { "type": "string", - "default": "Standard", - "const": "Standard" + "default": "Xmin", + "const": "Xmin" } }, "default": { - "method": "Standard" + "method": "Xmin" } }, "jdbc_url_params": {