You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While working on #2536 I found out that we can have duplicate IssueLink with the same positioning arguments (nb_lines, line, char), provided one of these values is NULL.
This is because Django defaults (and the databases default behaviour) makes the nullable values as distinct ones (so it does not trigger the constraint).
If I understand correctly the notes on Django doc, only Postgresql 15+ is supported to use nulls_distinct=False
The text was updated successfully, but these errors were encountered:
While working on #2536 I found out that we can have duplicate
IssueLink
with the same positioning arguments (nb_lines, line, char), provided one of these values isNULL
.This is because Django defaults (and the databases default behaviour) makes the nullable values as distinct ones (so it does not trigger the constraint).
If I understand correctly the notes on Django doc, only Postgresql 15+ is supported to use
nulls_distinct=False
The text was updated successfully, but these errors were encountered: