postgresql ignore where case if null code example Example: ifnull postgres SELECT coalesce(column, 1)