]> git.ipfire.org Git - thirdparty/postgresql.git/commit
* to_char:
authorBruce Momjian <bruce@momjian.us>
Tue, 29 Aug 2000 04:41:48 +0000 (04:41 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 29 Aug 2000 04:41:48 +0000 (04:41 +0000)
commitdffd8cac3dd8fb99ed4299bf2ef7eddba6eeaba2
treede1078c4af77f5d1f5db078d86874145e2d8cb97
parentd4f626507ca56bf3e1a8adeea7f158535ddb0220
 * to_char:

  - full support for IW (ISO week) and vice versa conversion for IW too
    (the to_char 'week' support is now complete and I hope correct).

  Thomas, I use for IW code from timestamp.c, for this I create separate
  function date2isoweek() from original 'case DTK_WEEK:' code in the
  timestamp_part(). I mean will better use one code for same feature in
  date_part() and in to_char(). The isoweek2date() is added to timestamp.c
  too. Right?

  IMHO in 7.1 will all to_char's features complete. It is cca 41 templates
  for date/time and cca 21 for numbers.

 * to_ascii:

   - gcc, is it correct now? :-)

  In the patch is documentation for to_char's IW and for to_ascii().

                                                        Karel
doc/src/sgml/func.sgml
src/backend/utils/adt/formatting.c
src/backend/utils/adt/pg_locale.c
src/backend/utils/adt/timestamp.c
src/include/utils/timestamp.h