Re: ISO year. - Mailing list pgsql-patches

From Karel Zak
Subject Re: ISO year.
Date
Msg-id 20031219083317.GC24721@zf.jcu.cz
Whole thread Raw
In response to Re: ISO year.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
On Thu, Dec 18, 2003 at 11:41:18AM -0500, Tom Lane wrote:
> Kurt Roeckx <Q@ping.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@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

pgsql-patches by date:

Previous
From: Karel Zak
Date:
Subject: Re: ISO year.
Next
From: Karel Zak
Date:
Subject: Re: ISO year.