Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5)

Поиск
Список
Период
Сортировка
Искать
От
Noah Misch
Тема
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5)
Дата
Msg-id
20160323024445.GA1306688@tornado.leadboat.com
Ответ на
Список
Дерево обсуждения
Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Marc-Olaf Jaschke <marc-olaf.jaschke@s24.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Stephen Frost <sfrost@snowman.net>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Stephen Frost <sfrost@snowman.net>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Stephen Frost <sfrost@snowman.net>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Stephen Frost <sfrost@snowman.net>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Stephen Frost <sfrost@snowman.net>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Noah Misch <noah@leadboat.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Magnus Hagander <magnus@hagander.net>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Magnus Hagander <magnus@hagander.net>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Marc-Olaf Jaschke <marc-olaf.jaschke@s24.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Magnus Hagander <magnus@hagander.net>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Magnus Hagander <magnus@hagander.net>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Bernd Helmle <mailings@oopsware.de>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) "David G. Johnston" <david.g.johnston@gmail.com>
Re: Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Bernd Helmle <mailings@oopsware.de>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Robert Haas <robertmhaas@gmail.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Thomas Munro <thomas.munro@enterprisedb.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
Re: Missing rows with index scan when collation is not "C" (PostgreSQL 9.5) Peter Geoghegan <pg@heroku.com>
On Tue, Mar 22, 2016 at 07:19:44PM -0400, Tom Lane wrote:
> Robert Haas  writes:
> > I was a little worried that it was too much to hope for that all libc
> > vendors on earth would ship a strxfrm() implementation that was actually
> > consistent with strcoll(), and here we are.
> 
> Indeed.  To try to put some scope on the problem, I made an idiot little
> program that just generates some random UTF8 strings and sees whether
> strcoll and strxfrm sort them alike.  Attached are that program, a even
> more idiot little shell script that runs it over all available UTF8
> locales, and the results on my RHEL6 box.  While de_DE seems to be the
> worst-broken locale, it's far from the only one.
> 
> Please try this on as many platforms as you can get hold of ...

I, too, found MAXXFRMLEN insufficient; I raised it fourfold.  Cygwin
2.2.1(0.289/5/3) caught fire; 10% of locales passed.  (varstr_sortsupport()
already blacklists the UTF8/native Windows case.)  The test passed on Solaris
10, Solaris 11, HP-UX B.11.31, OpenBSD 5.0, NetBSD 5.1.2, and FreeBSD 9.0.
See attached tryalllocales.sh outputs.  I did not test AIX, because the AIX
machines I use have no UTF8 locales installed.
В списке pgsql-bugs по дате отправления
От: Tom Lane
Дата:
От: Bernd Helmle
Дата:
FAQ