Re: Solaris testers wanted for strxfrm() behavior

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Jim Mlodgenski <jimmy76(at)gmail(dot)com>
Subject: Re: Solaris testers wanted for strxfrm() behavior
Date: 2015-06-28 22:21:21
Message-ID: CAM3SWZRug_iEM2AmP1vi6oD+PZeiOJ-=h=ynp7pLYYANxjwrpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jun 28, 2015 at 12:58 PM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> My perspective is that if both SmartOS and OmniOS pass, it's not our
> responsibility to support OldSolaris if they won't update libraries.

Obviously I especially don't want to double the number of strxfrm()
calls made during text abbreviation for *everyone* just to work around
this silly bug. Those calls will generally be a large fraction of the
cost of any text sort in 9.5, so clearly that would be unacceptable.

Maybe Noah should commit a patch that makes the initial size of the
buffer that stores the transformed string blob very small. This can be
reverted once it has some buildfarm cycles. That is a bit of a scatter
gun approach, but maybe that's inevitable given the paucity of
information around the issue.
--
Peter Geoghegan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-06-28 22:57:24 Re: Solaris testers wanted for strxfrm() behavior
Previous Message Jeff Janes 2015-06-28 22:12:15 Re: PANIC in GIN code