Commit Graph

141 Commits (9f194709665e1f7d7e5064ee4e78134eb0a6b125)

Author SHA1 Message Date
Bruce Momjian db05f4a7eb Add 'day' field to INTERVAL so 1 day interval can be distinguished from 20 years ago
Neil Conway 76aa6d29cf Code cleanup: remove 3 duplicate static function declarations. 20 years ago
Neil Conway 06ecacded6 More trivial dead code removal: in int_to_roman(), checking for "num == -1" 20 years ago
Bruce Momjian 0851a6fbc7 This patch makes it possible to use the full set of timezones when doing 20 years ago
Bruce Momjian b492c3accc Add parentheses to macros when args are used in computations. Without 20 years ago
Tom Lane fccde77ecb Prevent to_char(interval) from dumping core on month-related formats 21 years ago
Tom Lane 6e26c00297 Fix to_date to behave reasonably when CC and YY fields are both used. 21 years ago
Tom Lane cbd8913245 Remove unportable assumption that it's okay to use the target buffer 21 years ago
Bruce Momjian 2daed8c5b3 Update copyrights that were missed. 21 years ago
Tom Lane 83fea34b5b Fix unportable isdigit() call --- must cast arg to unsigned char. 21 years ago
Bruce Momjian 9c3d654a16 Update comment to point to proper file. 21 years ago
Tom Lane 319902dc8c Fix to_number for the case of a trailing S. 21 years ago
Neil Conway 7069dbcc31 More minor cosmetic improvements: 21 years ago
Bruce Momjian 15d3f9f6b7 Another pgindent run with lib typedefs added. 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 21 years ago
Tom Lane 63bd0db121 Integrate src/timezone library for all platforms. There is more we can 21 years ago
Tom Lane 0bd61548ab Solve the 'Turkish problem' with undesirable locale behavior for case 21 years ago
Bruce Momjian fd071bd478 Fix to_char for 1 BC. Previously it returned 1 AD. 22 years ago
Neil Conway 192ad63bd7 More janitorial work: remove the explicit casting of NULL literals to a 22 years ago
Bruce Momjian 1c757c49fa > > I have no idea if this in Oracle or not. But it's something I 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Peter Eisentraut 7438af96fa More message editing, some suggested by Alvaro Herrera 22 years ago
Tom Lane 5840b89373 Repair problems with to_char() overrunning its input string. 22 years ago
Tom Lane a17f2d76cc Refactor code so that to_date() does not call to_timestamp() and then 22 years ago
Tom Lane 2f9c859ea1 Fix some copyright notices that weren't updated. Improve copyright tool 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 22 years ago
Tom Lane d6f1aa9760 Fix platform-dependent failure introduced by recent to_char changes 23 years ago
Bruce Momjian 6f2d02d306 Fix syntax error in to_char fixes --- was defining variable in main code 23 years ago
Bruce Momjian 7a3e7b64ac to_char fixes, Karel Zak 23 years ago
Bruce Momjian aaf11b931f Back out to_char fixes until regression tests are fixed. 23 years ago
Bruce Momjian 94701fb24b Peter found bug in the to_char() routine for PL/MI options. This 23 years ago
Tom Lane e4704001ea This patch fixes a bunch of spelling mistakes in comments throughout the 23 years ago
Bruce Momjian bea4792125 This patch removes a bunch of superfluous #include directives: if 23 years ago
Bruce Momjian c27d95e25d The patch fix bug described in TODO: 23 years ago
Bruce Momjian 192b0c94f2 This patch cleans up some of the code in src/util/adt/formatting.c, 23 years ago
Bruce Momjian e50f52a074 pgindent run. 23 years ago
Thomas G. Lockhart 547df0cc85 Support alternate storage scheme of 64-bit integer for date/time types. 24 years ago
Peter Eisentraut 867901db9e Locale support is on by default. The choice of locale is done in initdb 24 years ago
Bruce Momjian 92288a1cf9 Change made to elog: 24 years ago
Bruce Momjian b4a5fa4518 Remove MAX/MIN() macros, use c.h Max/Min() instead. 24 years ago
Thomas G. Lockhart c826d1cefb Have to_date() call timestamptz_date() per Karel's email instructions. 24 years ago
Tom Lane bb2bff498c Fix to_timestamp/to_date so that zero year input for Y, YY, or YYY 24 years ago
Tom Lane f3f8499bc0 Repair case-conversion error in to_date's handling of roman numerals. 24 years ago
Tatsuo Ishii 2b714fd66e Fix for usage of spirntf in more portable way. 24 years ago
Tom Lane 5e86d226e4 Grammatical and spelling fixes. 24 years ago
Bruce Momjian ea08e6cd55 New pgindent run with fixes suggested by Tom. Patch manually reviewed, 24 years ago
Bruce Momjian 6783b2372e Another pgindent run. Fixes enum indenting, and improves #endif 24 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago