postgresql/src/backend/utils
Bruce Momjian dbf2fd2e0f The enclosed patch changes the behaviour of the "ordinal" ('TH') format for
to_char.  I don't know about the rest of the world, but the "standard" in
Australia is the following:

        1st, 2nd, 3rd, 4th - 9th
        10th - 19th
        21st, 22nd, 23rd, 24th - 29th (similarly for 30s - 90s)
        110th - 119th (and for all "teens")
        121st, 122nd, 123rd, 124th - 129th

I think you see the trend.  The current code works fine except that it
produces:

        111st, 112nd, 113rd, 114th - 119th
        211st, 212nd, 213rd, 214th - 219th ... and so on.

Without knowing anything about what's supported (and what isn't) in the usual
I18N libraries, should this type of behaviour be defined within the locales?

Daniel Baldoni
2000-06-09 03:18:34 +00:00
..
adt The enclosed patch changes the behaviour of the "ordinal" ('TH') format for 2000-06-09 03:18:34 +00:00
cache Mark functions as static and ifdef NOT_USED as appropriate. 2000-06-08 22:38:00 +00:00
error Removed ELOG_TIMESTAMPS #define in favor of two run-time 2000-06-04 15:06:34 +00:00
fmgr Latest round of fmgr updates. All functions with bool,char, or int2 2000-06-05 07:29:25 +00:00
hash Generated header files parse.h and fmgroids.h are now copied into 2000-05-29 05:45:56 +00:00
init Mark functions as static and ifdef NOT_USED as appropriate. 2000-06-08 22:38:00 +00:00
mb Generated header files parse.h and fmgroids.h are now copied into 2000-05-29 05:45:56 +00:00
misc Removed ELOG_TIMESTAMPS #define in favor of two run-time 2000-06-04 15:06:34 +00:00
mmgr Remove unused include files. Do not touch /port or includes used by defines. 2000-05-30 00:49:57 +00:00
sort Third round of fmgr updates: eliminate calls using fmgr() and 2000-05-30 04:25:00 +00:00
time Generated header files parse.h and fmgroids.h are now copied into 2000-05-29 05:45:56 +00:00
.cvsignore Cleanup to ensure good state of derived files in tarballs. 2000-06-09 02:38:36 +00:00
Gen_fmgrtab.sh.in Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses 2000-06-07 16:27:00 +00:00
Makefile Cleanup to ensure good state of derived files in tarballs. 2000-06-09 02:38:36 +00:00