This is an automated email from the ASF dual-hosted git repository.
amoghdesai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 0157e0ebe6c Migrate postgres connection UI metadata to YAML (#62445)
0157e0ebe6c is described below
commit 0157e0ebe6cdde33c10b89a5a4d7f543e32f5ad4
Author: Haseeb Malik <[email protected]>
AuthorDate: Fri Feb 27 06:48:18 2026 -0500
Migrate postgres connection UI metadata to YAML (#62445)
---
providers/postgres/provider.yaml | 3 +++
providers/postgres/src/airflow/providers/postgres/get_provider_info.py | 1 +
2 files changed, 4 insertions(+)
diff --git a/providers/postgres/provider.yaml b/providers/postgres/provider.yaml
index df365396d84..9535a91badd 100644
--- a/providers/postgres/provider.yaml
+++ b/providers/postgres/provider.yaml
@@ -108,6 +108,9 @@ hooks:
connection-types:
- hook-class-name: airflow.providers.postgres.hooks.postgres.PostgresHook
connection-type: postgres
+ ui-field-behaviour:
+ relabeling:
+ schema: Database
asset-uris:
- schemes: [postgres, postgresql]
diff --git
a/providers/postgres/src/airflow/providers/postgres/get_provider_info.py
b/providers/postgres/src/airflow/providers/postgres/get_provider_info.py
index ba50c431a1f..50f4cfdb3b4 100644
--- a/providers/postgres/src/airflow/providers/postgres/get_provider_info.py
+++ b/providers/postgres/src/airflow/providers/postgres/get_provider_info.py
@@ -51,6 +51,7 @@ def get_provider_info():
{
"hook-class-name":
"airflow.providers.postgres.hooks.postgres.PostgresHook",
"connection-type": "postgres",
+ "ui-field-behaviour": {"relabeling": {"schema": "Database"}},
}
],
"asset-uris": [