Re: Making strxfrm() blobs in indexes work - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Making strxfrm() blobs in indexes work
Date
Msg-id CAM3SWZR_bi_YqsYNKO7Kh2OZW47K2mmGZoQFyV5fjJsKPOiMgQ@mail.gmail.com
Whole thread Raw
In response to Re: Making strxfrm() blobs in indexes work  (Peter Geoghegan <pg@heroku.com>)
List pgsql-hackers
On Thu, Jan 30, 2014 at 4:45 PM, Peter Geoghegan <pg@heroku.com> wrote:
> So we consider the
> appropriateness of a regular strcoll() or a strxfrm() in all contexts
> (in a generic and extensible manner, but that's essentially what we
> do). I'm not too discouraged by this restriction, because in practice
> it won't come up very often.

I meant: We consider the appropriateness of a strxfrm() + strcmp()
against the pre-strfxfrm()'d scanKey datum, when the optimization is
not in force, as against just a plain strcmp() when it is.


-- 
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Making strxfrm() blobs in indexes work
Next
From: Peter Geoghegan
Date:
Subject: Re: Making strxfrm() blobs in indexes work