]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Support data types for CREATE SEQUENCE in PostgreSQL
authorFederico Caselli <cfederico87@gmail.com>
Fri, 7 Aug 2020 20:38:24 +0000 (22:38 +0200)
committerFederico Caselli <cfederico87@gmail.com>
Tue, 18 Aug 2020 22:03:28 +0000 (22:03 +0000)
commit8e01a928d9559014413d08855c187b563c35ae72
treeb3ba77209c098aa5da8cd18cb95a64c85f5198f0
parent0901190bb440580f0664fe3f6310173762b908e0
Support data types for CREATE SEQUENCE in PostgreSQL

Allow specifying the data type when creating a :class:`.Sequence` in
PostgreSQL by using the parameter :paramref:`.Sequence.data_type`.

Fixes: #5498
Change-Id: I2b4a80aa89b1503c56748dc3ecd2cf145faddd8b
doc/build/changelog/unreleased_14/5498.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/base.py
test/dialect/postgresql/test_compiler.py