Re: [HACKERS] [ADMIN] locales and encodings Oh MY!

2010-11-12 Thread mark
On Fri, Nov 12, 2010 at 12:03 PM, Tom Lane wrote: > Robert Haas writes: >>> With how similar straight C and en_US.UTF8 are it was suggested to me, >>> by persons who are far more C knowledgeable then I in my office, that >>> this is something the PG community could "fix" . A "fix" being so that >

Re: [HACKERS] [ADMIN] locales and encodings Oh MY!

2010-11-12 Thread Tom Lane
Robert Haas writes: >> With how similar straight C and en_US.UTF8 are it was suggested to me, >> by persons who are far more C knowledgeable then I in my office, that >> this is something the PG community could "fix" . A "fix" being so that >> "col LIKE 'foo%' " could use btree indexes in locales

Re: [HACKERS] [ADMIN] locales and encodings Oh MY!

2010-11-12 Thread Robert Haas
> With how similar straight C and en_US.UTF8 are it was suggested to me, > by persons who are far more C knowledgeable then I in my office, that > this is something the PG community could "fix" . A "fix" being so that > "col LIKE 'foo%' " could use btree indexes in locales like en_US.UTF8 > (and pr

Re: [HACKERS] [ADMIN] locales and encodings Oh MY!

2010-11-12 Thread Kevin Grittner
mark wrote: > A "fix" being so that "col LIKE 'foo%' " could use btree indexes in > locales like en_US.UTF8 (and probably some others). How about specifying an opclass?: http://www.postgresql.org/docs/current/interactive/indexes-opclass.html -Kevin -- Sent via pgsql-hackers mailing list

Re: [HACKERS] [ADMIN] locales and encodings Oh MY!

2010-11-12 Thread mark
On Fri, Nov 12, 2010 at 12:45 AM, Gabriele Bartolini wrote: > Hi Mark, > > Il 12/11/10 03:31, mark ha scritto: >> >> I have listed what I think I will be doing with regards to initdb. if >> anyone >> sees problems with the following mixture during my dump ->  init-> >>  restore I >> would be most