summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
Commit message (Expand)AuthorAgeFilesLines
* Add two new format fields for use with to_char(), to_date() andBruce Momjian2007-02-161-52/+119
* Fix to_date()/to_timestamp() 'D' field for day of week, was off by one.Bruce Momjian2007-02-141-1/+2
* Add comment that to_char() for broken glibc pt_BR might cause a problem.Bruce Momjian2007-02-131-12/+16
* Remove blank lines in code.Bruce Momjian2007-02-091-3/+1
* Remove blank line from C code.Bruce Momjian2007-02-091-2/+1
* Fix bug when localized to_char() day or month names were incorectlyBruce Momjian2007-02-081-16/+129
* Fix bug in our code when using to_timestamp() or to_date() without "TM".Bruce Momjian2007-02-081-17/+5
* Fix handling of CC (century) format spec in to_date/to_char. According toTom Lane2007-01-121-18/+21
* Update CVS HEAD for 2007 copyright. Back branches are typically notBruce Momjian2007-01-051-2/+2
* Add workaround for localizing May and abbreviated May differently. IdeaPeter Eisentraut2006-11-281-3/+8
* Revert (too late in beta):Bruce Momjian2006-11-241-135/+182
* Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.Bruce Momjian2006-11-241-182/+135
* pgindent run for 8.2.Bruce Momjian2006-10-041-10/+10
* Back out patch added during 8.2.X development:Bruce Momjian2006-09-101-1/+2
* Fix case where "PM" to_timestamp() mask was eating too many characters.Bruce Momjian2006-09-031-5/+5
* Fix problem that sscanf(buf, "%d", &val) eats leading white space, butBruce Momjian2006-04-191-20/+37
* C code whitespace inprovement for formatting.c.Bruce Momjian2006-04-191-38/+1
* Update copyright for 2006. Update scripts.Bruce Momjian2006-03-051-2/+2
* Add comment about localized month names for to_date and to_timestamp.Bruce Momjian2006-03-031-1/+2
* Revert because C locale uses "" for thousands_sep, meaning "n/a", whileBruce Momjian2006-02-121-5/+4
* Support "" for thousands separator and plus sign in to_char(), perBruce Momjian2006-02-121-4/+5
* Allow to_char() to print localized month and day names.Bruce Momjian2006-02-121-20/+233
* Allow to_char(interval) and to_char(time) to use AM/PM specifications.Bruce Momjian2005-12-031-20/+16
* Re-run pgindent, fixing a problem where comment lines after a blankBruce Momjian2005-11-221-7/+8
* Adjust not-too-sane calculation of DDD value for to_char(interval).Tom Lane2005-10-201-28/+34
* Standard pgindent run for 8.1.Bruce Momjian2005-10-151-170/+169
* Add hint for to_char(interval) invalid format specifications.Bruce Momjian2005-08-181-17/+18
* Fix to_char(interval) to return proper year and century values.Bruce Momjian2005-08-181-242/+190
* More formatting.c cleanups.Bruce Momjian2005-08-171-12/+1
* Small cleanup.Bruce Momjian2005-08-171-4/+1
* Adjust to_char/from_char code to use boolean "is_to_char" rather thanBruce Momjian2005-08-171-138/+123
* Fix a few macro definitions to ensure that unary minus is enclosed inNeil Conway2005-07-271-9/+9
* Andrew pointed out that the current fix didn't handle dates that wereBruce Momjian2005-07-231-2/+2
* Add time/date macros for code clarity:Bruce Momjian2005-07-211-11/+11
* Add 'day' field to INTERVAL so 1 day interval can be distinguished fromBruce Momjian2005-07-201-3/+3
* Code cleanup: remove 3 duplicate static function declarations.Neil Conway2005-06-241-4/+1
* More trivial dead code removal: in int_to_roman(), checking for "num == -1"Neil Conway2005-06-221-6/+2
* This patch makes it possible to use the full set of timezones when doingBruce Momjian2005-06-151-3/+3
* Add parentheses to macros when args are used in computations. WithoutBruce Momjian2005-05-251-11/+11
* Prevent to_char(interval) from dumping core on month-related formatsTom Lane2005-03-261-25/+41
* Fix to_date to behave reasonably when CC and YY fields are both used.Tom Lane2005-03-251-10/+29
* Remove unportable assumption that it's okay to use the target bufferTom Lane2005-01-131-7/+9
* Update copyrights that were missed.Bruce Momjian2005-01-011-2/+2
* Fix unportable isdigit() call --- must cast arg to unsigned char.Tom Lane2004-11-201-5/+5
* Update comment to point to proper file.Bruce Momjian2004-11-011-2/+2
* Fix to_number for the case of a trailing S.Tom Lane2004-10-281-44/+137
* More minor cosmetic improvements:Neil Conway2004-10-131-4/+6
* Another pgindent run with lib typedefs added.Bruce Momjian2004-08-301-1/+3
* Pgindent run for 8.0.Bruce Momjian2004-08-291-59/+62
* Update copyright to 2004.Bruce Momjian2004-08-291-2/+2