Commit Graph

251 Commits (a7dc63d904a6044d299aebdf59ad3199b6a9e99d)

Author SHA1 Message Date
Tom Lane 7218aab7a2 Adjust not-too-sane calculation of DDD value for to_char(interval). 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian 7be1b3ba74 Add hint for to_char(interval) invalid format specifications. 21 years ago
Bruce Momjian e20261128d Fix to_char(interval) to return proper year and century values. 21 years ago
Bruce Momjian 63f850cd4d More formatting.c cleanups. 21 years ago
Bruce Momjian 9cd3fb172d Small cleanup. 21 years ago
Bruce Momjian 420fc28ac5 Adjust to_char/from_char code to use boolean "is_to_char" rather than 21 years ago
Neil Conway a4c75ece82 Fix a few macro definitions to ensure that unary minus is enclosed in 21 years ago
Bruce Momjian 3dbbbbf8e9 Andrew pointed out that the current fix didn't handle dates that were 21 years ago
Bruce Momjian a536b2dd80 Add time/date macros for code clarity: 21 years ago
Bruce Momjian db05f4a7eb Add 'day' field to INTERVAL so 1 day interval can be distinguished from 21 years ago
Neil Conway 76aa6d29cf Code cleanup: remove 3 duplicate static function declarations. 21 years ago
Neil Conway 06ecacded6 More trivial dead code removal: in int_to_roman(), checking for "num == -1" 21 years ago
Bruce Momjian 0851a6fbc7 This patch makes it possible to use the full set of timezones when doing 21 years ago
Bruce Momjian b492c3accc Add parentheses to macros when args are used in computations. Without 21 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. 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Tom Lane 63bd0db121 Integrate src/timezone library for all platforms. There is more we can 22 years ago
Tom Lane 0bd61548ab Solve the 'Turkish problem' with undesirable locale behavior for case 22 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 23 years ago
Tom Lane 5840b89373 Repair problems with to_char() overrunning its input string. 23 years ago
Tom Lane a17f2d76cc Refactor code so that to_date() does not call to_timestamp() and then 23 years ago
Tom Lane 2f9c859ea1 Fix some copyright notices that weren't updated. Improve copyright tool 23 years ago
Bruce Momjian 089003fb46 pgindent run. 23 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 23 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: 24 years ago
Bruce Momjian 192b0c94f2 This patch cleans up some of the code in src/util/adt/formatting.c, 24 years ago
Bruce Momjian e50f52a074 pgindent run. 24 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