]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Domain type
authorDavid Baumgold <david@davidbaumgold.com>
Fri, 11 Feb 2022 17:30:24 +0000 (12:30 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 21 Jun 2022 14:17:40 +0000 (10:17 -0400)
commit017fd9ae0645eaf2a0fbdd067d10c721505b018c
tree80adc525448f11b11bb34d0cf3b1a0e708725542
parent4e2a89c41b0bb423891767d10bdc3cb1b75eaa5e
Domain type

Added a new Postgresql :class:`_postgresql.DOMAIN` datatype, which follows
the same CREATE TYPE / DROP TYPE behaviors as that of PostgreSQL
:class:`_postgresql.ENUM`. Much thanks to David Baumgold for the efforts on
this.

Fixes: #7316
Closes: #7317
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7317
Pull-request-sha: bc9a82f010e6ca2f70a6e8a7620b748e483c26c3

Change-Id: Id8d7e48843a896de17d20cc466b115b3cc065132
12 files changed:
doc/build/changelog/unreleased_20/7316.rst [new file with mode: 0644]
doc/build/dialects/postgresql.rst
lib/sqlalchemy/dialects/postgresql/__init__.py
lib/sqlalchemy/dialects/postgresql/base.py
lib/sqlalchemy/dialects/postgresql/named_types.py [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/types.py
lib/sqlalchemy/sql/compiler.py
test/aaa_profiling/test_memusage.py
test/dialect/postgresql/test_compiler.py
test/dialect/postgresql/test_reflection.py
test/dialect/postgresql/test_types.py
test/sql/test_types.py