Skip site navigation (1) Skip section navigation (2)

Re: Notes about fixing regexes and UTF-8 (yet again)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Notes about fixing regexes and UTF-8 (yet again)
Date: 2012-02-23 23:16:30
Message-ID: 1330038990.6474.24.camel@vanquo.pezone.net (view raw or flat)
Thread:
Lists: 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.


In response to

Responses

pgsql-hackers by date

Next:From: Peter van HardenbergDate: 2012-02-23 23:23:50
Subject: psql \i tab completion initialization problem on HEAD
Previous:From: Josh BerkusDate: 2012-02-23 22:40:58
Subject: Coverity Scan

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group