Re: TM modificator don't work? to_char

From: "Sergey E(dot) Koposov" <math(at)sai(dot)msu(dot)ru>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: TM modificator don't work? to_char
Date: 2006-10-03 00:36:02
Message-ID: Pine.LNX.4.64.0610030430032.12197@lnfm1.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 2 Oct 2006, Bruce Momjian wrote:

>
> Can someone confirm this features works or fails?

As I see from the original commit:
http://groups.google.com/group/pgsql.committers/browse_frm/thread/4ba64c906fca7211/0e3b4d495ec7ecf8?lnk=gst&q=to_char&rnum=8#0e3b4d495ec7ecf8
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/formatting.c.diff?r1=1.103&r2=1.104

the patch for to_char wasn't written at all for looking into the locale
settings... It "uses" gettext() to "localize" the output of to_char()
which seems to be pretty useless behaviour...

Regards,
Sergey
*******************************************************************
Sergey E. Koposov
Max Planck Institute for Astronomy/Sternberg Astronomical Institute
Tel: +49-6221-528-349
Web: http://lnfm1.sai.msu.ru/~math
E-mail: math(at)sai(dot)msu(dot)ru

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-10-03 00:40:06 Re: [HACKERS] Patch: Tie stats options to autovacuum in
Previous Message Bruce Momjian 2006-10-03 00:31:20 Re: Darwin stuff is getting deprecated