Add two new format fields for use with to_char(), to_date() and

Bruce Momjian <bruce@momjian.us>

Commit: 4ebb0cf9c30c1e477d5e2dfcc1f2c016c3f8bbcf
Author: Bruce Momjian <bruce@momjian.us>
Date: 2007-02-16T03:39:46Z
Releases: 8.3.0
Add two new format fields for use with to_char(), to_date() and
to_timestamp():
    - ID for day-of-week
    - IDDD for day-of-year

This makes it possible to convert ISO week dates to and from text
fully represented in either week ('IYYY-IW-ID') or day-of-year
('IYYY-IDDD') format.

I have also added an 'isoyear' field for use with extract / date_part.

Brendan Jurd

Files