Re: Null-safe GiST interface (proposal) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Null-safe GiST interface (proposal)
Date
Msg-id 20557.996853721@sss.pgh.pa.us
Whole thread Raw
Responses Re: Re: Null-safe GiST interface (proposal)
List pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
>  2. For union and picksplit we propose to clean up NULLs from array of
>     keys, so support  of arguments 'passed-by-value' will not require
>     changes of user interface. It would require some modification of current
>     algorithm of splitting, but this wouldn't  be a complex task for us.

Seems reasonable.  Would there ever be a union or picksplit method that
would want to do anything with nulls except ignore them?  I can't think
of a reason to do differently, so you're just centralizing the logic to
ignore nulls in these methods.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Small patch for Hurd
Next
From: Horst Herb
Date:
Subject: redo log