Provider for Apache Airflow. Implements apache-airflow-providers-postgres package
Project description
Package apache-airflow-providers-postgres
Release: 4.1.0
Provider package
This is a provider package for postgres provider. All classes for this provider package are in airflow.providers.postgres python package.
You can find package information and changelog for the provider in the documentation.
Installation
You can install this package on top of an existing Airflow 2.1+ installation via pip install apache-airflow-providers-postgres
The package supports the following python versions: 3.7,3.8,3.9,3.10
PIP requirements
PIP package | Version required |
---|---|
apache-airflow | >=2.1.0 |
psycopg2-binary | >=2.7.4 |
Cross provider package dependencies
Those are dependencies that might be needed in order to use all the features of the package. You need to install the specified provider packages in order to use them.
You can install such cross-provider dependencies when installing from PyPI. For example:
pip install apache-airflow-providers-postgres[amazon]
Dependent package | Extra |
---|---|
apache-airflow-providers-amazon | amazon |
Changelog
4.1.0
Features
- adds ability to pass config params to postgres operator (#21551)
Bug Fixes
- Fix mistakenly added install_requires for all providers (#22382)
4.0.1
Misc
- Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)
4.0.0
The URIs returned by Postgres get_uri() returns postgresql:// instead of postgres:// prefix which is the only supported prefix for the SQLAlchemy 1.4.0+. Any usage of get_uri() where postgres:// prefix should be updated to reflect it.
Breaking changes
- Replaces the usage of postgres:// with postgresql:// (#21205)
Features
- Add more SQL template fields renderers (#21237)
- Add conditional 'template_fields_renderers' check for new SQL lexers (#21403)
Misc
- Support for Python 3.10
3.0.1
Misc
- Make DbApiHook use get_uri from Connection (#21764)
2.4.0
Features
- 19489 - Pass client_encoding for postgres connections (#19827)
- Amazon provider remove deprecation, second try (#19815)
Bug Fixes
2.3.0
Features
- Added upsert method on S3ToRedshift operator (#18027)
Bug Fixes
- Fix example dag of PostgresOperator (#18236)
2.2.0
Features
- Make schema in DBApiHook private (#17423)
Misc
- Optimise connection importing for Airflow 2.2.0
2.1.0
Features
- Add schema as DbApiHook instance attribute (#16521)
2.0.0
Breaking changes
- Auto-apply apply_default decorator (#15667)
Warning
Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.
Features
- PostgresHook: deepcopy connection to avoid mutating connection obj (#15412)
- postgres_hook_aws_conn_id (#16100)
1.0.2
- Do not forward cluster-identifier to psycopg2 (#15360)
1.0.1
Updated documentation and readme files. Added HowTo guide for Postgres Operator.
1.0.0
Initial version of the provider.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for apache-airflow-providers-postgres-4.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea625cb459c964c93b2edcfea8522e01856974749e1e2afa2d132a12a167853e |
|
MD5 | 8f94afe24e0e2f3aac870218e00c1387 |
|
BLAKE2-256 | 7bd7f050955831882a725f501ff8deafc3ec6ac62fd5c86a8e2b0b485608909e |
Hashes for apache_airflow_providers_postgres-4.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 532ba10df5c97c454389eb5212fe6f75a36cace7f85c290bb4f542a42257eea5 |
|
MD5 | c1a293b969e675413a0e9ca4c3dd2311 |
|
BLAKE2-256 | b858e1c46d46982794136838108e0eff3fdd2410f7af8606b29b7b92c190e746 |