summaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/formatting.c
AgeCommit message (Expand)Author
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
2011-12-27Standardize treatment of strcmp() return valuePeter Eisentraut
2011-12-10Miscellaneous cleanup to silence compiler warnings seen on Mingw.Andrew Dunstan
2011-09-07Fix corner case bug in numeric to_char().Tom Lane
2011-09-07Fix to_date() and to_timestamp() to handle year masks of length < 4 soBruce Momjian
2011-04-23Fix char2wchar/wchar2char to support collations properly.Tom Lane
2011-04-10pgindent run before PG 9.1 beta 1.Bruce Momjian
2011-03-22Improve reporting of run-time-detected indeterminate-collation errors.Tom Lane
2011-03-20Fix up handling of C/POSIX collations.Tom Lane
2011-03-12Use macros for time-based constants, rather than constants.Bruce Momjian