Re: Simple Query Doesn't Even with Data - Mailing list pgsql-general

From Julien Rouhaud
Subject Re: Simple Query Doesn't Even with Data
Date
Msg-id 20220310082027.iaduvd63rkqcptj2@jrouhaud
Whole thread Raw
In response to Simple Query Doesn't Even with Data  (Scott Macri <Scott@BITSnBYTES.io>)
List pgsql-general
Hi,

On Wed, Mar 09, 2022 at 08:40:45PM -0500, Scott Macri wrote:
>
> If I do a select * without a where clause I get the expected results.
> However, when I execute the following select statement I was astonished
> to see no results come back.
>
> SELECT *
> FROM public.map_table
> WHERE company_letters = 'abcdefg';

It looks like an index corruption, a REINDEX of that table should fix the
problem.

Did you update your system recently, which
may have updated your libc/libicu version, or replicated data over different OS
version (which could lead to the same problem)?  If yes, it's a known problem
and you have to reindex all indexes that uses collatable datatypes afterwards.

You can look at https://wiki.postgresql.org/wiki/Locale_data_changes for more
details about that problem.



pgsql-general by date:

Previous
From: M Tarkeshwar Rao
Date:
Subject: Could not read certificate file from while upgrading to PostgreSQLClient 12.9
Next
From: Ken Tanzer
Date:
Subject: Re: Simple Query Doesn't Even with Data