Re: BUG #15755: After upgrading to 9.6.12 using pg_upgrade, select query does not return the expected results.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15755: After upgrading to 9.6.12 using pg_upgrade, select query does not return the expected results.
Дата
Msg-id 16625.1555344913@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15755: After upgrading to 9.6.12 using pg_upgrade, select query does not return the expected results.  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15755: After upgrading to 9.6.12 using pg_upgrade, selectquery does not return the expected results.  (Suresh Thelkar <suresh.thelkar@altair.com>)
Список pgsql-bugs
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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: BUG #15754: The CentOS RPM for PostgreSQL 11 disappeared and nowthrows a 404 error
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15757: Problem with the sequences node