Neil Conway <neilc(at)samurai(dot)com> writes:
> If I understand the code correctly, GiST will only pass the first
> attribute of each index tuple to the user-defined PickSplit method when
> it wants to split a node. (see circa line 1269 of gist.c)
> Is this a wise design decision?
It's probably just a hangover from the days when GiST didn't support
multi-column indexes at all. I agree it should be changed. But note
you will then have to cope with NULL values.
regards, tom lane