Eliran Mualmi
08/21/2025, 4:35 AMkapa.ai
08/21/2025, 4:35 AMstatement_timeout=5min in the source JDBC URL Parameters for a Postgres connector in Airbyte, you should use the options parameter in the JDBC URL. The correct format is: options=-c%20statement_timeout=5min So, in the JDBC URL Parameters (Advanced) field, you would enter: options=-c%20statement_timeout=5min If you need to add multiple parameters, separate them with &, for example: socketTimeout=600&options=-c%20statement_timeout=5min This will set the statement_timeout to 5 minutes for your Postgres source connection in Airbyte. For more details, see the discussion and documentation on customizing JDBC parameters for Postgres sources in Airbyte [here](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-custom-jdbc-connection-strings) and [here](https://discuss.airbyte.io/t/1715)[^1^][^2^]. [^1^]: [Postgres Troubleshooting: Custom JDBC Connection Strings](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-custom-jdbc-connection-strings) [^2^]: [Forum Post: Source-psql hitting oom without doing anything with the data and failing](https://discuss.airbyte.io/t/1715)Eliran Mualmi
09/01/2025, 2:38 PMkapa.ai
09/01/2025, 2:38 PMkapa.ai
09/01/2025, 2:38 PMEliran Mualmi
09/01/2025, 2:39 PMkapa.ai
09/01/2025, 2:39 PMkapa.ai
09/01/2025, 2:39 PMoptions=-c%20idle_in_transaction_session_timeout=20min&options=-c%20statement_timeout=5min Alternatively, combine them in one options string (URL-encoded space between -c and each setting, and a URL-encoded space between settings is not needed when using multiple -c flags): options=-c%20idle_in_transaction_session_timeout=20min&options=-c%20statement_timeout=5min Notes: - Airbyte appends these to the JDBC URL; do not include user/password/ssl keys here as they’re managed by Airbyte. ([Postgres source JDBC params](https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#advanced-custom-jdbc-connection-strings)) - Some users reported idle_in_transaction_session_timeout set via JDBC options may not take effect in all cases; if so, set it at the DB level as a workaround. ([issue report](https://github.com/airbytehq/airbyte/issues/27715)) - Example usage of options with statement_timeout is documented in community guidance. ([forum example](https://discuss.airbyte.io/t/1715))