Skip to main content

The set of adapter protocols and base functionality that supports integration with dbt-core

Project description

dbt logo

CI Badge

dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.

dbt is the T in ELT. Organize, cleanse, denormalize, filter, rename, and pre-aggregate the raw data in your warehouse so that it's ready for analysis.

dbt-postgres

The dbt-postgres package contains all of the code enabling dbt to work with a Postgres database. For more information on using dbt with Postgres, consult the docs.

Getting started

psycopg2-binary vs. psycopg2

By default, dbt-postgres installs psycopg2-binary. This is great for development, and even testing, as it does not require any OS dependencies; it's a pre-built wheel. However, building psycopg2 from source will grant performance improvements that are desired in a production environment. In order to install psycopg2, use the following steps:

if [[ $(pip show psycopg2-binary) ]]; then
    PSYCOPG2_VERSION=$(pip show psycopg2-binary | grep Version | cut -d " " -f 2)
    pip uninstall -y psycopg2-binary
    pip install psycopg2==$PSYCOPG2_VERSION
fi

This ensures the version of psycopg2 will match that of psycopg2-binary.

Contribute

See CONTRIBUTING.md for a detailed overview of contributing a code change to this adapter.

Join the dbt Community

Reporting bugs and contributing code

Code of Conduct

Everyone interacting in the dbt project's codebases, issue trackers, chat rooms, and mailing lists is expected to follow the dbt Code of Conduct.

Project details


Release history Release notifications | RSS feed

This version

1.9.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_postgres-1.9.0.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

dbt_postgres-1.9.0-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file dbt_postgres-1.9.0.tar.gz.

File metadata

  • Download URL: dbt_postgres-1.9.0.tar.gz
  • Upload date:
  • Size: 23.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for dbt_postgres-1.9.0.tar.gz
Algorithm Hash digest
SHA256 b0574e9e1e66d8a5cd627b1d464ec0278eef7342f0b5babe4f987eee9d02a143
MD5 839ac2e359437886a48e6e931aaa07c5
BLAKE2b-256 092403eae698e7f0bffb579a120758fcf95cdf7a58caccec79254195b4a1cb4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_postgres-1.9.0.tar.gz:

Publisher: release.yml on dbt-labs/dbt-postgres

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dbt_postgres-1.9.0-py3-none-any.whl.

File metadata

  • Download URL: dbt_postgres-1.9.0-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.8

File hashes

Hashes for dbt_postgres-1.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c85d1adb419251ac989e5f720fdbb964aa6c280da7739dc8c48d44e6f45d354a
MD5 af980d08db90c540ee1597b9cc9637df
BLAKE2b-256 30bb8e48678036e5f89b49f72c98e41fa41ebe853c219e658cad3797afbc50b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for dbt_postgres-1.9.0-py3-none-any.whl:

Publisher: release.yml on dbt-labs/dbt-postgres

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page