summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
AgeCommit message (Expand)Author
2006-04-19Fix problem that sscanf(buf, "%d", &val) eats leading white space, butBruce Momjian
2006-04-19C code whitespace inprovement for formatting.c.Bruce Momjian
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-03-03Add comment about localized month names for to_date and to_timestamp.Bruce Momjian
2006-02-12Revert because C locale uses "" for thousands_sep, meaning "n/a", whileBruce Momjian
2006-02-12Support "" for thousands separator and plus sign in to_char(), perBruce Momjian
2006-02-12Allow to_char() to print localized month and day names.Bruce Momjian
2005-12-03Allow to_char(interval) and to_char(time) to use AM/PM specifications.Bruce Momjian
2005-11-22Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian
2005-10-20Adjust not-too-sane calculation of DDD value for to_char(interval).Tom Lane
2005-10-15Standard pgindent run for 8.1.Bruce Momjian
2005-08-18Add hint for to_char(interval) invalid format specifications.Bruce Momjian
2005-08-18Fix to_char(interval) to return proper year and century values.Bruce Momjian
2005-08-17More formatting.c cleanups.Bruce Momjian
2005-08-17Small cleanup.Bruce Momjian
2005-08-17Adjust to_char/from_char code to use boolean "is_to_char" rather thanBruce Momjian
2005-07-27Fix a few macro definitions to ensure that unary minus is enclosed inNeil Conway
2005-07-23Andrew pointed out that the current fix didn't handle dates that wereBruce Momjian
2005-07-21Add time/date macros for code clarity:Bruce Momjian
2005-07-20Add 'day' field to INTERVAL so 1 day interval can be distinguished fromBruce Momjian
2005-06-24Code cleanup: remove 3 duplicate static function declarations.Neil Conway
2005-06-22More trivial dead code removal: in int_to_roman(), checking for "num == -1"Neil Conway
2005-06-15This patch makes it possible to use the full set of timezones when doingBruce Momjian
2005-05-25Add parentheses to macros when args are used in computations. WithoutBruce Momjian
2005-03-26Prevent to_char(interval) from dumping core on month-related formatsTom Lane
2005-03-25Fix to_date to behave reasonably when CC and YY fields are both used.Tom Lane
2005-01-13Remove unportable assumption that it's okay to use the target bufferTom Lane
2005-01-01Update copyrights that were missed.Bruce Momjian
2004-11-20Fix unportable isdigit() call --- must cast arg to unsigned char.Tom Lane
2004-11-01Update comment to point to proper file.Bruce Momjian
2004-10-28Fix to_number for the case of a trailing S.Tom Lane
2004-10-13More minor cosmetic improvements:Neil Conway
2004-08-30Another pgindent run with lib typedefs added.Bruce Momjian
2004-08-29Pgindent run for 8.0.Bruce Momjian
2004-08-29Update copyright to 2004.Bruce Momjian
2004-05-21Integrate src/timezone library for all platforms. There is more we canTom Lane
2004-05-07Solve the 'Turkish problem' with undesirable locale behavior for caseTom Lane
2004-03-30Fix to_char for 1 BC. Previously it returned 1 AD.Bruce Momjian
2004-01-07More janitorial work: remove the explicit casting of NULL literals to aNeil Conway
2003-12-25> > I have no idea if this in Oracle or not. But it's something IBruce Momjian
2003-11-29$Header: -> $PostgreSQL Changes ...PostgreSQL Daemon
2003-09-29More message editing, some suggested by Alvaro HerreraPeter Eisentraut
2003-09-03Repair problems with to_char() overrunning its input string.Tom Lane
2003-08-25Refactor code so that to_date() does not call to_timestamp() and thenTom Lane
2003-08-04Fix some copyright notices that weren't updated. Improve copyright toolTom Lane
2003-08-04pgindent run.Bruce Momjian
2003-07-27Error message editing in utils/adt. Again thanks to Joe Conway for doingTom Lane
2003-04-02Fix platform-dependent failure introduced by recent to_char changesTom Lane
2003-03-27Fix syntax error in to_char fixes --- was defining variable in main codeBruce Momjian
2003-03-27to_char fixes, Karel ZakBruce Momjian