Re: BUG #7913: TO_CHAR Function & Turkish collate

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: a_dursun(at)hotmail(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7913: TO_CHAR Function & Turkish collate
Date: 2013-03-04 02:28:52
Message-ID: 1362364132.11571.8.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, 2013-03-03 at 10:42 -0500, Tom Lane wrote:
> I think the use of str_toupper() is appropriate when processing the
> locale-specific string for a TMDAY specification; but plain DAY is not
> supposed to be locale-dependent, so we probably should use an
> ASCII-only upcasing rule in the non-TM code path.

Agreed.

> Anybody have an opinion on whether to back-patch such a fix?

I think it's a bug that should be backpatched.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message s-morita 2013-03-04 11:23:17 BUG #7914: pg_dump aborts occasionally
Previous Message Louis-Arnaud Iscla 2013-03-03 23:45:04 "Password" issues -- bug??