Re: ISO year.

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Kurt Roeckx <Q(at)ping(dot)be>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ISO year.
Date: 2003-12-19 08:33:18
Message-ID: 20031219083317.GC24721@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

On Thu, Dec 18, 2003 at 11:41:18AM -0500, Tom Lane wrote:
> Kurt Roeckx <Q(at)ping(dot)be> writes:
> > This patch allows you to use IYYYY as format specifier to get the
> > ISO year, the year correspondeing to the ISO week number (IW).
>
> The purpose of to_char() as I understand it is to be 100% Oracle
> compatible, not to invent new features at random. Is this duplicating
> some Oracle functionality that was left out?

Oracle has IYYYY too. So thanks to Kurt, because now we approximate to
100% compatibity :-)

BTW, I'm open for to_char() PostgreSQL extensions if it will good
described in docs and marked as PostgreSQL extension.

Karel

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Karel Zak 2003-12-19 08:37:21 Re: ISO year.
Previous Message Karel Zak 2003-12-19 08:20:48 Re: ISO year.