Re: query plan with index having a btrim is different for strings of different length - Mailing list pgsql-performance

From Tom Lane
Subject Re: query plan with index having a btrim is different for strings of different length
Date
Msg-id 6449.1228939494@sss.pgh.pa.us
Whole thread Raw
In response to Re: query plan with index having a btrim is different for strings of different length  (Richard Yen <dba@richyen.com>)
List pgsql-performance
BTW, if your queries typically constrain both lastname and firstname,
it'd likely be worthwhile to make a 2-column index on
    lower(btrim(x_lastname)), lower(btrim(x_firstname))

            regards, tom lane

pgsql-performance by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: Experience with HP Smart Array P400 and SATA drives?
Next
From: "David Wilson"
Date:
Subject: Re: Experience with HP Smart Array P400 and SATA drives?