Would it be worth replacing the condition with the equivalent?I mean would that help optimizing better some queries when it knows that a is (not) nullable or when "a" is more complicated expression?a <> a : (a IS NULL) AND NULLa = a : (a IS NOT NULL) OR NULL
a IS DISTINCT FROM a
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных