Re: [sqlalchemy] Re: Unique Partial Indexes throwing UniqueViolation

2021-05-12 Thread Mike Bayer
not silly at all, it's kind of an unfortunate situation w/ postgresql's naming, the name 'postgres' might be worth hardcoding somehwere as a universal "warn" kind of thing just so it doesn't skip silently On Wed, May 12, 2021, at 11:45 AM, Michael Bukachi wrote: > Typo alert. It's supposed to

[sqlalchemy] Re: Unique Partial Indexes throwing UniqueViolation

2021-05-12 Thread Michael Bukachi
Typo alert. It's supposed to be `postgresql_where`. How silly of me. On Wednesday, May 12, 2021 at 3:25:35 AM UTC+3 Michael Bukachi wrote: > > Hi > > I'm trying to setup unique partial indexes so that constraint violation is > only thrown when a a certain column is true. This is the index I'm