summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
AgeCommit message (Expand)Author
2008-07-12Const-ify the arguments of str_tolower() and friends to suppress compileTom Lane
2008-06-26Fix bug "select lower('asd') = 'asd'" returns false with multibyte encodingTeodor Sigaev
2008-06-23Merge duplicate upper/lower/initcap() routines in oracle_compat.c andBruce Momjian
2008-06-17Move USE_WIDE_UPPER_LOWER define to c.h, and remove TS_USE_WIDE and useBruce Momjian
2008-05-20Simplify code in formatting.c now that to upper/lower/initcase do notBruce Momjian
2008-05-19Make to_char()'s localized month/day names depend on LC_TIME, not LC_MESSAGES.Tom Lane
2008-03-25Simplify and standardize conversions between TEXT datums and ordinary CTom Lane
2008-03-22Refactor to_char/to_date formatting code; primarily, replace DCH_processorTom Lane
2008-01-01Update copyrights in source tree to 2008.Bruce Momjian
2007-11-22Add more comments about thousands separator handling.Bruce Momjian
2007-11-22Add comments about thousands separator logic.Bruce Momjian
2007-11-21When setting default thousands separator when locale has "", use logicBruce Momjian
2007-11-21Fix typo in comment.Bruce Momjian
2007-11-15pgindent run for 8.3.Bruce Momjian
2007-08-04Switch over to using the src/timezone functions for formatting timestampsTom Lane
2007-06-29Fix a passel of ancient bugs in to_char(), including two distinct bufferTom Lane
2007-02-27Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).Tom Lane
2007-02-17Remove rint() for to_char MS and US output. We can't us rint() becauseBruce Momjian
2007-02-17Cleanup of to_char() patch.Bruce Momjian
2007-02-16Fix // commentPeter Eisentraut
2007-02-16Add two new format fields for use with to_char(), to_date() andBruce Momjian
2007-02-14Fix to_date()/to_timestamp() 'D' field for day of week, was off by one.Bruce Momjian
2007-02-13Add comment that to_char() for broken glibc pt_BR might cause a problem.Bruce Momjian
2007-02-09Remove blank lines in code.Bruce Momjian
2007-02-09Remove blank line from C code.Bruce Momjian
2007-02-08Fix bug when localized to_char() day or month names were incorectlyBruce Momjian
2007-02-08Fix bug in our code when using to_timestamp() or to_date() without "TM".Bruce Momjian
2007-01-12Fix handling of CC (century) format spec in to_date/to_char. According toTom Lane
2007-01-05Update CVS HEAD for 2007 copyright. Back branches are typically notBruce Momjian
2006-11-28Add workaround for localizing May and abbreviated May differently. IdeaPeter Eisentraut
2006-11-24Revert (too late in beta):Bruce Momjian
2006-11-24Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES.Bruce Momjian
2006-10-04pgindent run for 8.2.Bruce Momjian
2006-09-10Back out patch added during 8.2.X development:Bruce Momjian
2006-09-03Fix case where "PM" to_timestamp() mask was eating too many characters.Bruce Momjian
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