summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
AgeCommit message (Expand)Author
2021-04-12Fix out-of-bound memory access for interval -> char conversionMichael Paquier
2020-09-30Fix handling of BC years in to_date/to_timestamp.Tom Lane
2020-05-01Get rid of trailing semicolons in C macro definitions.Tom Lane
2020-01-23Fix an oversight in commit 4c70098ff.Tom Lane
2020-01-23Clean up formatting.c's logic for matching constant strings.Tom Lane
2017-02-06Fix typos in comments.Heikki Linnakangas
2016-08-08Fix several one-byte buffer over-reads in to_numberPeter Eisentraut
2016-06-09pgindent run for 9.6Robert Haas
2016-06-03Fix various common mispellings.Greg Stark
2016-05-06Fix possible read past end of string in to_timestamp().Tom Lane
2016-03-17Fix assorted breakage in to_char()'s OF format option.Tom Lane
2016-03-16Be more careful about out-of-range dates and timestamps.Tom Lane
2016-01-02Update copyright for 2016Bruce Momjian
2015-10-05to_number(): allow 'V' to divide by 10^(the number of digits)Bruce Momjian
2015-10-05to_char(): Do not count negative sign as a digit for time valuesBruce Momjian
2015-05-23pgindent run for 9.5Bruce Momjian
2015-05-03Second try at fixing warnings caused by commit 9b43d73b3f9bef27.Tom Lane
2015-04-29Attempt to fix some compiler warnings.Robert Haas
2015-04-28to_char(): have format 'OF' only show the leading negative signBruce Momjian
2015-03-22to_char: revert cc0d90b73b2e6dd2f301d46818a7265742c41a14Bruce Momjian
2015-03-21to_char(float4/8): zero pad to specified lengthBruce Momjian
2015-02-06Check DCH_MAX_ITEM_SIZ limits with <=, not <.Noah Misch
2015-02-02to_char(): prevent writing beyond the allocated bufferBruce Momjian
2015-02-02to_char(): prevent accesses beyond the allocated bufferBruce Momjian
2015-01-06Update copyright for 2015Bruce Momjian
2014-09-12Revert f68dc5d86b9f287f80f4417f5a24d876eb13771dBruce Momjian
2014-09-12More formatting.c variable renaming, for clarityBruce Momjian
2014-09-05Rename C variables in formatting.c, for clarityBruce Momjian
2014-05-21Fix typos in comments.Heikki Linnakangas
2014-05-06pgindent run for 9.4Bruce Momjian
2014-01-20Fix to_timestamp/to_date's handling of consecutive spaces in format string.Tom Lane
2014-01-18Make various variables const (read-only).Tom Lane
2014-01-07Update copyright for 2014Bruce Momjian
2013-12-02Make NUM_TOCHAR_prepare and NUM_TOCHAR_finish macros declare "len".Robert Haas
2013-07-01Add timezone offset output option to to_char()Bruce Momjian
2013-05-29pgindent run for release 9.3Bruce Momjian
2013-05-11Fix to_number() to correctly ignore thousands separator when it's '.'.Tom Lane
2013-03-05Fix to_char() to use ASCII-only case-folding rules where appropriate.Tom Lane
2013-01-14Reject out-of-range dates in to_date().Tom Lane
2013-01-01Update copyrights for 2013Bruce Momjian
2012-09-03Fix to_date() and to_timestamp() to allow specification of the day ofBruce Momjian
2012-08-08Add additional C comments for to_date/to_char() fixes.Bruce Momjian
2012-08-07Fix to_char(), to_date(), and to_timestamp() to handle negative/BCBruce Momjian
2012-07-16Remove unreachable codePeter Eisentraut
2012-07-02Fix to_date's handling of year 519.Tom Lane
2012-06-10Run pgindent on 9.2 source tree in preparation for first 9.3Bruce Momjian
2012-04-23Lots of doc corrections.Robert Haas
2012-03-15Add const qualifier to tzn returned by timestamp2tm()Peter Eisentraut
2012-03-12Add comment for missing break in switchPeter Eisentraut
2012-01-01Update copyright notices for year 2012.Bruce Momjian