Re: Null-safe GiST interface (proposal)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Teodor Sigaev <teodor(at)stack(dot)net>
Subject: Re: Null-safe GiST interface (proposal)
Date: 2001-08-03 15:48:41
Message-ID: 20557.996853721@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oleg Bartunov <oleg(at)sai(dot)msu(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-08-03 15:49:38 Re: Re: What needs to be done?
Previous Message Bruce Momjian 2001-08-03 15:47:27 Rule flag in gram.y