Postgres exclusion constraint support

Hi there! This is my first post to the discussion forum, so if I’m putting this in the wrong place, please let me know.

I would love to get some eyes on a new feature I proposed to Rails, exclusion constraint support for Postgres, in Add support for exclusion constraints (PostgreSQL-only) by agrobbin · Pull Request #40224 · rails/rails · GitHub. It’s been out there for a bit, and it’d be great to have some feedback from someone on the core team about it when they have a free moment.



+1 on this, our team is currently split between our forked version of the active_record-postgres-constraints gem (which we had to do because the official gem has been archived), and the official Rails support for check constraints. Ideally we would just be able to rely on Rails.

@agrobbin welcome to the forum! I’m not on the core team, but I did add some feedback to your PR. It looks super handy and I’m looking forward to seeing it merged.