From: Julien Rouhaud <rjuju123@gmail.com>
To: Scott Macri <Scott@bitsnbytes.io>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Simple Query Doesn't Even with Data
Date: Thu, 10 Mar 2022 16:20:27 +0800
Message-ID: <20220310082027.iaduvd63rkqcptj2@jrouhaud> (raw)
In-Reply-To: <24fc9258007f1c08f8801936e2b7bdc8443f40b9.camel@gmail.com>
References: <24fc9258007f1c08f8801936e2b7bdc8443f40b9.camel@gmail.com>
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.
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: rjuju123@gmail.com, Scott@bitsnbytes.io
Subject: Re: Simple Query Doesn't Even with Data
In-Reply-To: <20220310082027.iaduvd63rkqcptj2@jrouhaud>
References: <24fc9258007f1c08f8801936e2b7bdc8443f40b9.camel@gmail.com> <20220310082027.iaduvd63rkqcptj2@jrouhaud>
* 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