From: Tom Lane <tgl@sss.pgh.pa.us>
To: suresh.thelkar@altair.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15755: After upgrading to 9.6.12 using pg_upgrade, select query does not return the expected results.
Date: Mon, 15 Apr 2019 12:15:13 -0400
Message-ID: <16625.1555344913@sss.pgh.pa.us> (raw)
In-Reply-To: <15755-a5d9a0bea7ca931a@postgresql.org>
References: <15755-a5d9a0bea7ca931a@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> When we upgraded Postgres from 9.3.12 to 9.6.12 we observed that queries
> like the following are no longer giving the expected results.
> select * from xyz.job_attr where jobid = 'foo';
> [ but reindexing fixed it ]
What collation locale do you use in that database? (psql \l's
"Collate" column would say.) If it's not "C", the most likely
explanation is that you also upgraded the underlying OS, and glibc's
sort order for that locale changed from what it was before. If so,
reindexing is the appropriate cure. There isn't a lot we can do about
this inside Postgres, because we have no visibility into whether a
locale's behavior is different today than it was yesterday :-(
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, suresh.thelkar@altair.com
Subject: Re: BUG #15755: After upgrading to 9.6.12 using pg_upgrade, select query does not return the expected results.
In-Reply-To: <16625.1555344913@sss.pgh.pa.us>
References: <15755-a5d9a0bea7ca931a@postgresql.org> <16625.1555344913@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