Re: Solaris testers wanted for strxfrm() behavior

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Geoghegan <pg(at)heroku(dot)com>
Cc: Noah Misch <noah(at)leadboat(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Solaris testers wanted for strxfrm() behavior
Date: 2015-06-28 02:14:45
Message-ID: 31949.1435457685@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Geoghegan <pg(at)heroku(dot)com> writes:
> On Sat, Jun 27, 2015 at 9:51 AM, Noah Misch <noah(at)leadboat(dot)com> wrote:
>> PostgreSQL 9.5 adds a strxfrm() call in bttext_abbrev_convert(), which does
>> not account for the Solaris bug. I wish to determine whether that bug is
>> still relevant today. If you have access to Solaris with the is_IS.ISO8859-1
>> locale installed (or root access to install it), please compile and run the
>> attached test program on each Solaris version you have available. Reply here
>> with the program's output. I especially need a report from Solaris 10, but
>> reports from older and newer versions are valuable. Thanks.

> I did consider this.

> Sorry, but I must question the point of worrying about an ancient bug
> in Solaris.

I think the point of Noah's query is to find out whether "ancient" is an
accurate description. If indeed nothing newer than Solaris 8 exhibits
the bug, I'd be okay with not working around it, but otherwise we have
some decisions to make.

Also, the post Noah dug up was merely the oldest description of the
problem. I believe what prompted us to actually change the code was
some reports in July 2003:

http://www.postgresql.org/message-id/flat/56510AAEF435D240958D1CE8C6B1770A016D2DB9(at)mailc03(dot)aurigin(dot)com
http://www.postgresql.org/message-id/flat/56510AAEF435D240958D1CE8C6B1770A016D2DB0(at)mailc03(dot)aurigin(dot)com

(the archive threading here is pretty crappy, but you can poke around
among posts of similar date)

Those reports suggest that the problem was observable in many non-C
locales on Solaris 8, not only Icelandic.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sawada Masahiko 2015-06-28 03:15:43 Re: pg_file_settings view vs. Windows
Previous Message Tom Lane 2015-06-28 01:40:56 Re: pg_file_settings view vs. Windows