BUG #16835: btree index does not work for where clause using 'foo%'

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: zhangh3(at)aetna(dot)com
Subject: BUG #16835: btree index does not work for where clause using 'foo%'
Date: 2021-01-22 15:56:52
Message-ID: 16835-419ddd12f1e74ee5@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16835
Logged by: Hongyan (Heather) Zhang
Email address: zhangh3(at)aetna(dot)com
PostgreSQL version: 11.9
Operating system: aurora postgres 11
Description:

https://www.postgresql.org/docs/11/indexes-types.html, according to this
page, btree index is supposed to work for where clause col like 'foo%', but
does not work for me. we are on aurora postgres 11, I also tested on
postgres 11, it does not work either.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2021-01-22 16:44:03 Re: BUG #16835: btree index does not work for where clause using 'foo%'
Previous Message David G. Johnston 2021-01-22 15:27:37 Re: BUG #16834: where-in: if the nested query fails, the parent query returns all the records