pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hafeez Rahim <hafeez.rahim@mindcurv.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Index based search have issues with 11.20
Date: Tue, 17 Oct 2023 16:18:52 -0400
Message-ID: <2906198.1697573932@sss.pgh.pa.us> (raw)
In-Reply-To: <CANV7R2SYCUBCwevY5EQ4SH72c4785gABvf-+8NXLAXvf6r4wnA@mail.gmail.com>
References: <CANV7R2SYCUBCwevY5EQ4SH72c4785gABvf-+8NXLAXvf6r4wnA@mail.gmail.com>

Hafeez Rahim <hafeez.rahim@mindcurv.com> writes:
> Issue :

> One of the table query not woks when string values are filtered with =
> clause
> where as the query works with like clause using '%' flag  or using
> trim(column)
> below are query examples describes the problem

You've not really provided enough detail, but I'm going to guess
that your OS update included a change in collation definitions
that left any indexes on text columns essentially corrupt.
The LIKE queries probably weren't affected because they didn't
rely on indexes.

Reindexing the indexes should have been enough to fix it.
See

https://wiki.postgresql.org/wiki/Locale_data_changes

			regards, tom lane





view thread (5+ messages)  latest in thread

Message-ID: <2906198.1697573932@sss.pgh.pa.us>
Permalink:  ../2906198.1697573932@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2906198.1697573932@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hafeez.rahim@mindcurv.com
  Subject: Re: Index based search have issues with 11.20
  In-Reply-To: <2906198.1697573932@sss.pgh.pa.us>
  References: <CANV7R2SYCUBCwevY5EQ4SH72c4785gABvf-+8NXLAXvf6r4wnA@mail.gmail.com> <2906198.1697573932@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox