Skip to content

Commit b19628a

Browse files
committed
Clarify PostgreSQL fallback host driver scope (#25461)
1 parent 8881da8 commit b19628a

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

airflow-core/docs/howto/set-up-database.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,10 +278,12 @@ For more information regarding setup of the PostgreSQL connection, see `PostgreS
278278

279279
.. note::
280280

281-
PostgreSQL connection strings can include multiple fallback hosts. Use SQLAlchemy's documented PostgreSQL
282-
URL format for this setup so each fallback host is passed correctly to the selected PostgreSQL driver. See
281+
SQLAlchemy supports multiple fallback hosts for the psycopg2, psycopg, and asyncpg PostgreSQL dialects.
282+
These dialects accept repeated ``host=<host>:<port>`` query parameters, with driver-specific port
283+
requirements. See
283284
`Specifying multiple fallback hosts <https://docs.sqlalchemy.org/en/20/dialects/postgresql.html#specifying-multiple-fallback-hosts>`__
284-
in the SQLAlchemy documentation.
285+
and `asyncpg Multihost Connections <https://docs.sqlalchemy.org/en/20/dialects/postgresql.html#multihost-connections>`__
286+
in the SQLAlchemy documentation for details.
285287

286288
.. note::
287289

0 commit comments

Comments
 (0)