here is a patch for formatting.c (to_char/timestampt()), for 7.1
Bruce Momjian <bruce@momjian.us>
here is a patch for formatting.c (to_char/timestampt()), for 7.1
it fixing Y,YY,YYY,YYYY conversion, the docs and regress tests update
are included too.
During the patch testing I found small bug in miscadmin.h in
convertstr() declaration. Here it's fixed too.
Thanks
Karel
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +14 −0 |
| src/backend/utils/adt/formatting.c | modified | +179 −95 |
| src/include/miscadmin.h | modified | +2 −2 |
| src/test/regress/expected/timestamp.out | modified | +35 −3 |
| src/test/regress/sql/timestamp.sql | modified | +12 −0 |