Re: Notes about fixing regexes and UTF-8 (yet again) - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Notes about fixing regexes and UTF-8 (yet again)
Date
Msg-id 1330038990.6474.24.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Notes about fixing regexes and UTF-8 (yet again)  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Notes about fixing regexes and UTF-8 (yet again)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On fre, 2012-02-17 at 10:19 -0500, Tom Lane wrote:
> > What if you did this ONCE and wrote the results to a file someplace?
> 
> That's still a cache, you've just defaulted on your obligation to think
> about what conditions require the cache to be flushed.  (In the case at
> hand, the trigger for a cache rebuild would probably need to be a glibc
> package update, which we have no way of knowing about.) 

We basically hardwire locale behavior at initdb time, so computing this
then and storing it somewhere for eternity would be consistent.



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Coverity Scan
Next
From: Peter van Hardenberg
Date:
Subject: psql \i tab completion initialization problem on HEAD