Commit Graph

243 Commits (85feb77aa09cda9ff3e12cf95c757c499dc25343)

Author SHA1 Message Date
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
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