Explain early-binding views in Postgres and include our pro-tips #4602
Labels
content
Improvements or additions to content
improvement
Use this when an area of the docs needs improvement as it's currently unclear
Contributions
Link to the page on docs.getdbt.com requiring updates
https://docs.getdbt.com/reference/resource-configs/postgres-configs
What part(s) of the page would you like to see updated?
Add new section called "Early binding views" between "Performance optimizations" and "Materialized views", just like the docs for dbt-redshift.
The new context might look like this:
Key insight
When a table is recreated in Postgres, any views that depend upon it will be deleted automatically and will need to be recreated. They will be unavailable in the meantime and data access attempts will return a database error.
This is because postgres only supports early-binding views (as opposed to most other cloud data warehouses). As a derivative of Postgres, Redshift also uses early-binding views, but it allows late-binding as a configuration option. BigQuery, Spark, and Databricks only have late-binding views.
Our recommendations
Additional information
No response
The text was updated successfully, but these errors were encountered: