Commit Graph

251 Commits (a7dc63d904a6044d299aebdf59ad3199b6a9e99d)

Author SHA1 Message Date
Heikki Linnakangas 7fb27531e8 Modify the new to_timestamp implementation so that end-of-format-string 17 years ago
Heikki Linnakangas 45d146a6db Fix 'Q' format char parsing in the new to_timestamp() code. Used to crash. 17 years ago
Tom Lane 557faa4fb3 Random speculation about the reason for PPC64 buildfarm failures: 17 years ago
Tom Lane b1e929f295 Fix pointer-advancement bugs in MS and US cases of new to_timestamp() code. 17 years ago
Tom Lane 06edce4c3f Tighten up to_date/to_timestamp so that they are more likely to reject 18 years ago
Bruce Momjian 6152de97d3 Minor patch on pgbench 18 years ago
Tom Lane 960af47efd Const-ify the arguments of str_tolower() and friends to suppress compile 18 years ago
Teodor Sigaev 5ff9899933 Fix bug "select lower('asd') = 'asd'" returns false with multibyte encoding 18 years ago
Bruce Momjian f6ec7430f9 Merge duplicate upper/lower/initcap() routines in oracle_compat.c and 18 years ago
Bruce Momjian dc69c0362f Move USE_WIDE_UPPER_LOWER define to c.h, and remove TS_USE_WIDE and use 18 years ago
Bruce Momjian 9f19470966 Simplify code in formatting.c now that to upper/lower/initcase do not 18 years ago
Tom Lane 07a5606735 Make to_char()'s localized month/day names depend on LC_TIME, not LC_MESSAGES. 18 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Tom Lane 19595835c3 Refactor to_char/to_date formatting code; primarily, replace DCH_processor 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Bruce Momjian b85cf684f7 Add more comments about thousands separator handling. 18 years ago
Bruce Momjian d9bc7a3946 Add comments about thousands separator logic. 18 years ago
Bruce Momjian 3894e7cc55 When setting default thousands separator when locale has "", use logic 18 years ago
Bruce Momjian 6f3149e464 Fix typo in comment. 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane bdd6b62245 Switch over to using the src/timezone functions for formatting timestamps 19 years ago
Tom Lane 6faf795662 Fix a passel of ancient bugs in to_char(), including two distinct buffer 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian 4fe1a12c54 Remove rint() for to_char MS and US output. We can't us rint() because 19 years ago
Bruce Momjian f7a51b7a0d Cleanup of to_char() patch. 19 years ago
Peter Eisentraut 89b18bdd2a Fix // comment 19 years ago
Bruce Momjian 4ebb0cf9c3 Add two new format fields for use with to_char(), to_date() and 19 years ago
Bruce Momjian 764122471a Fix to_date()/to_timestamp() 'D' field for day of week, was off by one. 19 years ago
Bruce Momjian d1d3f4d015 Add comment that to_char() for broken glibc pt_BR might cause a problem. 19 years ago
Bruce Momjian d7fee591db Remove blank lines in code. 19 years ago
Bruce Momjian acb3416686 Remove blank line from C code. 19 years ago
Bruce Momjian b577aa9ebc Fix bug when localized to_char() day or month names were incorectly 19 years ago
Bruce Momjian 9e9e387ecf Fix bug in our code when using to_timestamp() or to_date() without "TM". 19 years ago
Tom Lane 9a54b76b39 Fix handling of CC (century) format spec in to_date/to_char. According to 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Peter Eisentraut b64d2d2133 Add workaround for localizing May and abbreviated May differently. Idea 19 years ago
Bruce Momjian 9b15b14014 Revert (too late in beta): 19 years ago
Bruce Momjian d2b694d825 Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES. 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Bruce Momjian 94cf48d72b Back out patch added during 8.2.X development: 20 years ago
Bruce Momjian 1d4abf2175 Fix case where "PM" to_timestamp() mask was eating too many characters. 20 years ago
Bruce Momjian 5d096d0127 Fix problem that sscanf(buf, "%d", &val) eats leading white space, but 20 years ago
Bruce Momjian e37a649e94 C code whitespace inprovement for formatting.c. 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Bruce Momjian 6839bc95d4 Add comment about localized month names for to_date and to_timestamp. 20 years ago
Bruce Momjian 8325be229c Revert because C locale uses "" for thousands_sep, meaning "n/a", while 20 years ago
Bruce Momjian 2cb61220eb Support "" for thousands separator and plus sign in to_char(), per 20 years ago
Bruce Momjian f695750c43 Allow to_char() to print localized month and day names. 20 years ago
Bruce Momjian d20901a39b Allow to_char(interval) and to_char(time) to use AM/PM specifications. 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago