Re: [BUGS] CC Date format code defaults to current centry

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, List pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] CC Date format code defaults to current centry
Date: 2005-03-25 16:09:30
Message-ID: 24785.1111766970@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> writes:
> I think it's very special case when you define YY and CC and code
> should detects it and counts year as (CC-1)*100+YY. The right answers:
> ...
> The patch (with docs changes) is in the attachment.

Applied to HEAD and 8.0.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Patrick Clery 2005-03-26 11:36:19 Strange behavior for boolean predicates and partial indexes
Previous Message Simon Riggs 2005-03-25 15:38:25 Re: [BUGS] BUG #1552: massive performance hit

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-03-25 16:18:05 Re: Fix that deals with unusable custom variables.
Previous Message Dirk Raetzel 2005-03-25 08:28:58 BUG #1563: wrong week returnded by date_trunc('week', ...)