Re: BUG #2885: to_char function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Akio Iwaasa" <iwaasa(at)mxs(dot)nes(dot)nec(dot)co(dot)jp>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2885: to_char function
Date: 2007-01-13 03:21:28
Message-ID: 17887.1168658488@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Akio Iwaasa" <iwaasa(at)mxs(dot)nes(dot)nec(dot)co(dot)jp> writes:
> When I've used "to_char" function to convert "Date" to
> "century" format text, '2000-01-01' was converted in
> the 21st century.

I've patched this in HEAD and 8.2 branch.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David 2007-01-13 05:49:28 BUG #2889: Syntax error: WHERE ANY(arrayfield) = N
Previous Message Tom Lane 2007-01-12 21:45:58 Re: BUG #2885: to_char function