Re: [BUGS] BUG #2977: dow doesn't conform to ISO-8601 - Mailing list pgsql-patches

From Adriaan van Os
Subject Re: [BUGS] BUG #2977: dow doesn't conform to ISO-8601
Date
Msg-id 45DC2799.5060808@microbizz.nl
Whole thread Raw
In response to Re: [BUGS] BUG #2977: dow doesn't conform to ISO-8601  (Bruce Momjian <bruce@momjian.us>)
List pgsql-patches
Bruce Momjian wrote:
> Updated version applied.  I reduced the numering changes for the macros.
>
> There was also documentation text for "dow" and a few others that said
> "(for <type>timestamp</type> values only)", but in fact the field worked
> for "timestamptz" and "date" too, so I removed the mentions.  If people
> get confused, I will come up with new wording, like "doesn't work for
> interval or time", which I think is pretty obvious.  I remember people
> got confused in the past about this, so maybe we still need something.
>
> ---------------------------------------------------------------------------
>
> Bruce Momjian wrote:
>> I have implemented 'isodow' with the attached patch.

Thanks for the patch and the new function.

Adriaan van Os

pgsql-patches by date:

Previous
From: "FAST PostgreSQL"
Date:
Subject: Re: WIP patch - INSERT-able log statements
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-patches] Patch to avoid gprofprofilingoverwrites