From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Emre Hasegeli <emre(at)hasegeli(dot)com>, Teodor Sigaev <teodor(at)sigaev(dot)ru>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: Wrong Results from SP-GiST with Collations |
Date: | 2018-04-16 19:58:52 |
Message-ID: | CAH2-WzkTSwd=3SP+P2gHA4LzBm8Z1AhVpGWrB=gpS-EMWrg9vw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Mon, Apr 16, 2018 at 12:55 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I'm not following --- varstr_cmp has no way to know that we only
> care about equality vs inequality. Yes, it might give back an
> answer quickly when the strings are equal, but when they aren't,
> it has to decide which is greater. In this case we don't care,
> so long as the search operator is "=".
That was the subtlety I was missing. I didn't understand what you
meant, but thought that the fast-path might be relevant. Clearly not.
--
Peter Geoghegan
From | Date | Subject | |
---|---|---|---|
Next Message | Vitaly V. Voronov | 2018-04-16 20:22:31 | Re: BUG #15144: *** glibc detected *** postgres: postgres smsconsole [local] SELECT: double free or corruption (!pre |
Previous Message | Tom Lane | 2018-04-16 19:55:52 | Re: Wrong Results from SP-GiST with Collations |