apache-airflow-providers-postgres
¶
Provider package¶
This is a provider package for postgres
provider. All classes for this provider package
are in airflow.providers.postgres
python package.
Installation¶
You can install this package on top of an existing Airflow 2 installation (see Requirements
below)
for the minimum Airflow version supported) via
pip install apache-airflow-providers-postgres
Requirements¶
PIP package |
Version required |
---|---|
|
|
|
|
|
|
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 |
---|---|
|
|
|
Downloading official packages¶
You can download officially released packages and verify their checksums and signatures from the Official Apache Download site
The apache-airflow-providers-postgres 5.2.0 sdist package (asc, sha512)
The apache-airflow-providers-postgres 5.2.0 wheel package (asc, sha512)
Changelog¶
5.2.0¶
Features¶
Use only public AwsHook's methods during IAM authorization (#25424)
Unify DbApiHook.run() method with the methods which override it (#23971)
5.0.0¶
Breaking changes¶
This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow providers support policy https://github.com/apache/airflow/blob/main/README.md#support-for-providers
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.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
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.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.