Commit Graph

251 Commits (a7dc63d904a6044d299aebdf59ad3199b6a9e99d)

Author SHA1 Message Date
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Robert Haas a8656a3ab0 Make NUM_TOCHAR_prepare and NUM_TOCHAR_finish macros declare "len". 12 years ago
Bruce Momjian 7408c5d29b Add timezone offset output option to to_char() 13 years ago
Bruce Momjian 9af4159fce pgindent run for release 9.3 13 years ago
Tom Lane 35d50b527a Fix to_number() to correctly ignore thousands separator when it's '.'. 13 years ago
Tom Lane 80b011ef0a Fix to_char() to use ASCII-only case-folding rules where appropriate. 13 years ago
Tom Lane 5c4eb9166e Reject out-of-range dates in to_date(). 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Bruce Momjian 015722fb36 Fix to_date() and to_timestamp() to allow specification of the day of 13 years ago
Bruce Momjian 2751740ab5 Add additional C comments for to_date/to_char() fixes. 14 years ago
Bruce Momjian ac78c4178b Fix to_char(), to_date(), and to_timestamp() to handle negative/BC 14 years ago
Peter Eisentraut dd16f9480a Remove unreachable code 14 years ago
Tom Lane 41f4a0ab78 Fix to_date's handling of year 519. 14 years ago
Bruce Momjian 927d61eeff Run pgindent on 9.2 source tree in preparation for first 9.3 14 years ago
Robert Haas 5d4b60f2f2 Lots of doc corrections. 14 years ago
Peter Eisentraut eb990a2b9e Add const qualifier to tzn returned by timestamp2tm() 14 years ago
Peter Eisentraut c9f310d377 Add comment for missing break in switch 14 years ago
Bruce Momjian e126958c2e Update copyright notices for year 2012. 14 years ago
Peter Eisentraut 037a82704c Standardize treatment of strcmp() return value 14 years ago
Andrew Dunstan 0f44335122 Miscellaneous cleanup to silence compiler warnings seen on Mingw. 14 years ago
Tom Lane f0bedf3e45 Fix corner case bug in numeric to_char(). 14 years ago
Bruce Momjian 029dfdf115 Fix to_date() and to_timestamp() to handle year masks of length < 4 so 14 years ago
Tom Lane 2ab0796d7a Fix char2wchar/wchar2char to support collations properly. 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Tom Lane 6e197cb2e5 Improve reporting of run-time-detected indeterminate-collation errors. 15 years ago
Tom Lane 176d5bae1d Fix up handling of C/POSIX collations. 15 years ago
Bruce Momjian 3a3f39fdc0 Use macros for time-based constants, rather than constants. 15 years ago
Peter Eisentraut 414c5a2ea6 Per-column collation support 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian 239d769e7e pgindent run for 9.0, second run 16 years ago
Tom Lane 2c0870ff7a Fix to_char YYY, YY, Y format codes so that FM zero-suppression really works, 16 years ago
Bruce Momjian ea066f87c3 Document that "Q" is ignored by to_date and to_timestamp. Add C comment 16 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Bruce Momjian 89ce2bfc13 Add C comment that do_to_timestamp() lacks error checking. 16 years ago
Bruce Momjian a54803149a Revert recent change of to_char('HH12') handling for intervals; instead 16 years ago
Bruce Momjian 4f56dc3fb4 Secondary patch to fix interval to_char() for "HH" where hours >= 12. 16 years ago
Bruce Momjian 7cdadc62ea Supress convertion of zero hours to '12' for intervals when using 16 years ago
Bruce Momjian 70d8a2c29e Honor to_char() "FM" specification in YYY, YY, and Y; it was already 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Alvaro Herrera 55f927a46e Refactor NUM_cache_remove calls in error report path to a PG_TRY block. 17 years ago
Tom Lane e61fd4ac74 Support EEEE (scientific notation) in to_char(). 17 years ago
Heikki Linnakangas 44886bd878 Fix ancient bug in handling of to_char modifier 'TH', when used with HH. 17 years ago
Tom Lane 3f1e529e78 Make to_timestamp and friends skip leading spaces before an integer field, 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 7a52a8f829 Clean up the code for to_timestamp's conversion of year plus ISO day number 17 years ago
Tom Lane 2cdec8b308 Fix core dump due to null-pointer dereference in to_char() when datetime 17 years ago
Bruce Momjian 65b731bd9d Fix to_timestamp() to not require upper/lower case matching for meridian 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane b4d64a6d48 Remove our dependencies on MB_CUR_MAX in favor of believing that 17 years ago