Project

General

Profile

« Previous | Next » 

Revision 4011

schemas/functions.sql: _merge(): Filter out NULL values as optimization so DISTINCT ON only has to consider non-NULL values

View differences:

schemas/functions.sql
84 84
            , (9, $10)
85 85
        )
86 86
        AS v (sort_order, value)
87
        WHERE value IS NOT NULL
87 88
    )
88 89
    AS v
89 90
    ORDER BY sort_order

Also available in: Unified diff