dbt-labs / docs.getdbt.com

The code behind docs.getdbt.com
https://docs.getdbt.com/
Apache License 2.0
113 stars 861 forks source link

Add docs for using `psycopg2` with `dbt-postgres` #5707

Open mikealfare opened 5 days ago

mikealfare commented 5 days ago

What are you changing in this pull request and why?

We changed how dbt-postgres is installed with regards to psycopg2 versus psycopg2-binary. In prior versions you could configure it with an environment variable. In 1.8, that's not an option because we changed our build tooling to a more modern stack. We initially tried an OS-driven approach, but that had issues mainly due to CI workflows that normally run on linux images. So in 1.8.2 we reverted back to installing psycopg2-binary by default and prescribed the manual workaround of uninstalling psycopg2-binary and reinstalling psycopg2.

Checklist

vercel[bot] commented 5 days ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-getdbt-com ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2024 3:00pm