sqlalchemy icon indicating copy to clipboard operation
sqlalchemy copied to clipboard

Support schema-qualified collation in types for PostgreSQL

Open dlax opened this issue 9 months ago • 7 comments

We add a collation_schema in types supporting collation, along with postgresql.DOMAIN, allowing to create respective elements with a schema-qualified collation name.

Reflection is also handled for both types and domains.

Fix #9693.

dlax avatar Jun 25 '25 06:06 dlax

notes:

  • this is based on #12510 (first 4 commits)
  • ~~5th commit (related to reflection caching to avoid JOINs) might be worth considering apart from this PR~~

dlax avatar Jun 25 '25 06:06 dlax

Rebased (and changed according to the rework of https://github.com/sqlalchemy/sqlalchemy/pull/12510).

dlax avatar Oct 16 '25 08:10 dlax

thanks, sorry for the delay, I'll come to it

CaselIT avatar Oct 16 '25 12:10 CaselIT