Re: B-Tree support function number 3 (strxfrm() optimization) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: B-Tree support function number 3 (strxfrm() optimization)
Date
Msg-id 2820.1417560295@sss.pgh.pa.us
Whole thread Raw
In response to Re: B-Tree support function number 3 (strxfrm() optimization)  (Peter Geoghegan <pg@heroku.com>)
Responses Re: B-Tree support function number 3 (strxfrm() optimization)  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Peter Geoghegan <pg@heroku.com> writes:
> On Tue, Dec 2, 2014 at 2:21 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>> Right, and what I'm saying is that maybe the "applicability" flag
>> shouldn't be stored in the SortSupport object, but passed down as an
>> argument.

> But then how does that information get to any given sortsupport
> routine? That's the place that really needs to know if abbreviation is
> useful. In general, they're only passed a SortSupport object. Are you
> suggesting revising the signature required of SortSupport routines to
> add that extra flag as an additional argument?

I think that is what he's suggesting, and I too am wondering why it's
a good idea.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: B-Tree support function number 3 (strxfrm() optimization)
Next
From: Michael Paquier
Date:
Subject: Re: Nitpicky doc corrections for BRIN functions of pageinspect