When comparing boolean values in PostgreSQL we use the comparison operator =.
This is all well but when I want to check against matching NULL values what should I use?
I have used IS NOT DISTINCT FROM when comparing integers that have to match if both are NULL but is it a correct way to go when dealing with boolean values?
distinct fromalso works with booleans:is not distinct from true