| From: | Cory Nemelka <cnemelka(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Daniel Verite <daniel(at)manitou-mail(dot)org>, pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Issues with inconsistent COLLATION installation |
| Date: | 2019-09-09 21:18:00 |
| Message-ID: | CAMe5Gn1wNFd9Zy4suFZCEi+tPVeH4n_O3LwoKEt1r182mZ+2Zg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Thank you :) I'll try restarting postgresql during our next maintenance
window and report back.
--cnemelka
On Mon, Sep 9, 2019 at 3:08 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Daniel Verite" <daniel(at)manitou-mail(dot)org> writes:
> > I can reproduce this by creating a new locale *after* starting
> > PostgreSQL and trying to use it before a restart.
>
> That is interesting. I think it must mean that glibc's setlocale()
> and newlocale() maintain some kind of internal cache about available
> locales ... and there's no logic to flush it if /usr/share/locale
> changes. The individual backends are probably inheriting the cache
> state via fork from the postmaster.
>
> regards, tom lane
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ayub M | 2019-09-09 23:50:52 | Re: pgbouncer with ldap |
| Previous Message | Tom Lane | 2019-09-09 21:08:29 | Re: Issues with inconsistent COLLATION installation |