]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
document postgresql_nulls_not_distinct
authorDavid Lord <davidism@gmail.com>
Sun, 17 May 2026 20:09:16 +0000 (16:09 -0400)
committersqla-tester <sqla-tester@sqlalchemy.org>
Sun, 17 May 2026 20:09:16 +0000 (16:09 -0400)
commit57dcfdacaa75ddac3a9246512f3deac4aef10cf0
treed3dd99daba687a34fb183beee3d53faa8d0420d1
parentf55557e96a1d4a0d5dcb36bf5de01274aec5f2ae
document postgresql_nulls_not_distinct

<!-- Provide a general summary of your proposed changes in the Title field above -->

### Description
<!-- Describe your changes in detail -->

https://github.com/sqlalchemy/sqlalchemy/issues/8240 and https://github.com/sqlalchemy/sqlalchemy/pull/9834 added support for `NULLS NOT DISTINCT` to the PostgreSQL dialect, but didn't add it to the docs (only the change log). This adds a section to the "Constraint Options" section of the PostgreSQL dialect docs.

### Checklist
<!-- go over following points. check them with an `x` if they do apply, (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once)

-->

This pull request is:

- [x] A documentation / typographical / small typing error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- please include the issue number, and create an issue if none exists, which
  must include a complete example of the issue.  one line code fixes without an
  issue and demonstration will not be accepted.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.   one line code fixes without tests will not be accepted.
- [ ] A new feature implementation
- please include the issue number, and create an issue if none exists, which must
  include a complete example of how the feature would look.
- Please include: `Fixes: #<issue number>` in the commit message
- please include tests.

**Have a nice day!**

Closes: #13279
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/13279
Pull-request-sha: cdc858cd88fbf86661662147210f9587117aa593

Change-Id: I3f2c8fe346d3235fa8ba12c4d9ab712ddb840230
doc/build/changelog/changelog_20.rst
lib/sqlalchemy/dialects/postgresql/base.py