Re: Reorganize collation lookup time and place - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Reorganize collation lookup time and place
Date
Msg-id 8cab119a-3406-5144-e577-4a981f5a5069@2ndquadrant.com
Whole thread Raw
In response to Re: Reorganize collation lookup time and place  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On 12/12/2018 15:58, Andreas Karlsson wrote:
> But when taking a look at your patch I got a segfault when running 
> initdb. See the stack trace below. My compiler is "gcc (Debian 8.2.0-9) 
> 8.2.0" and the locale when running initdb is glibc's "en_US.utf8".

Fixed in the attached updated patch.

(Apparently passing a NULL locale to strcoll_l() doesn't crash as
readily on macOS as on glibc.)

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Cache lookup errors with functions manipulation object addresses
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Can ICU be used for a database's default sort order?