If you are unable to read views with the Airbyte Postgres source connector, this is a known issue that has affected multiple versions of the connector. Here are some key points and workarounds based on the knowledge sources: 1.
Connector Version Matters: Several users have reported that certain versions of the Postgres source connector do not display or sync views. For example, versions after 0.4.10 had issues with schema discovery not showing views or tables. Downgrading to version 0.4.4 has been suggested as a workaround in some cases, and upgrading to version 0.4.14 or later may resolve the issue, as a specific fix was introduced ([PR #12689](
https://github.com/airbytehq/airbyte/pull/12689)) to address missing streams (including views) in schema discovery. So, try upgrading to the latest connector version or, if that fails, temporarily downgrade to 0.4.4 to see if views appear in schema discovery [Source Postgres Not Possible Select Views](
https://discuss.airbyte.io/t/245), [Cant Fetch postgredb views in schema discovery](
https://discuss.airbyte.io/t/940), [Failure to discover streams from Postgres source](
https://discuss.airbyte.io/t/930). 2.
Incremental Sync Limitation: Incremental sync mode for views was intentionally removed in some connector versions (see [PR #42108](
https://github.com/airbytehq/airbyte/pull/42108)). If you need to sync views incrementally, this may not be possible in your current version. The recommended approach is to use Full Refresh sync for views, or upgrade to the latest version where some of these limitations may have been addressed [source-postgres Incremental sync support removed for views](
https://github.com/airbytehq/airbyte/issues/42553), [Postgres source Incremental mode on views](
https://discuss.airbyte.io/t/2710). 3.
CDC Mode Does Not Support Views: If you are using Change Data Capture (CDC) mode, be aware that CDC is only supported for tables, not views. For views, you must use the Standard (Full Refresh) replication method [Connector Limitations](
https://docs.airbyte.com/integrations/sources/postgres/postgres-troubleshooting#connector-limitations). 4.
Permissions and Access: Ensure that the user configured in Airbyte has the necessary permissions to read the views in your Postgres database. Sometimes, lack of permissions can prevent views from appearing in schema discovery.
Summary of Steps: - Upgrade to the latest Postgres source connector version. - If views still do not appear, try downgrading to version 0.4.4 as a temporary workaround. - Use Full Refresh sync for views, as Incremental sync may not be supported. - Ensure your Airbyte user has the correct permissions on the views. If after these steps you still cannot read views, it may be a limitation or bug in the current connector version, and you may want to follow or open an issue on the [Airbyte GitHub repository](
https://github.com/airbytehq/airbyte/issues) for further support.