PostgreSQL Schema Fetching Fails
Issue
While fetching schemas from the source, one of the following errors appears:
No schemas provided in the patchError while schema fetchingFailed to retrieve schema information for source
Environment
All PostgreSQL connectors
Resolution
To resolve this issue:
Check whether the source database contains a large number of schemas or tables.
Confirm that the required schemas and tables exist in the source database and are accessible to the Fivetran user.
If schema fetching takes longer than 30 minutes, pause and resume your connection:
i. In Fivetran, go to your PostgreSQL connection page.
ii. In the top right corner, set the Enabled toggle to OFF.
iii. Set the Enabled toggle back to ON.
If the issue persists, contact our support team.
Cause
This issue may occur when we retrieve column metadata from a PostgreSQL database containing a large number of tables. Processing a large volume of metadata can cause high memory usage, which may cause schema fetching to fail.