Commit Graph

243 Commits (85feb77aa09cda9ff3e12cf95c757c499dc25343)

Author SHA1 Message Date
Tom Lane 85feb77aa0 Assume wcstombs(), towlower(), and sibling functions are always present. 8 years ago
Peter Eisentraut e6023ee7fa Fix build with !USE_WIDE_UPPER_LOWER 8 years ago
Tom Lane b6159202c9 Fix memory leakage in ICU encoding conversion, and other code review. 9 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 9 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 9 years ago
Bruce Momjian a6fd7b7a5f Post-PG 10 beta1 pgindent run 9 years ago
Tom Lane c079673dcb Preventive maintenance in advance of pgindent run. 9 years ago
Peter Eisentraut eccfef81e1 ICU support 9 years ago
Noah Misch 3a0d473192 Use wrappers of PG_DETOAST_DATUM_PACKED() more. 9 years ago
Tom Lane b9d092c962 Remove now-dead code for !HAVE_INT64_TIMESTAMP. 9 years ago
Tom Lane 1c073505e8 Improve error message for misuse of TZ, tz, OF formatting patterns. 9 years ago
Heikki Linnakangas 181bdb90ba Fix typos in comments. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Tom Lane 83bed06be4 Rationalize format-picture caching logic in formatting.c. 9 years ago
Tom Lane d3cd36a133 Make to_timestamp() and to_date() range-check fields of their input. 9 years ago
Peter Eisentraut 9a46324fd4 Fix several one-byte buffer over-reads in to_number 10 years ago
Robert Haas 4bc424b968 pgindent run for 9.6 10 years ago
Greg Stark e1623c3959 Fix various common mispellings. 10 years ago
Tom Lane d136d600f9 Fix possible read past end of string in to_timestamp(). 10 years ago
Tom Lane 55c3a04d60 Fix assorted breakage in to_char()'s OF format option. 10 years ago
Tom Lane a70e13a39e Be more careful about out-of-range dates and timestamps. 10 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Bruce Momjian 28b3a3d41a to_number(): allow 'V' to divide by 10^(the number of digits) 10 years ago
Bruce Momjian 2d87eedc1d to_char(): Do not count negative sign as a digit for time values 10 years ago
Bruce Momjian 807b9e0dff pgindent run for 9.5 11 years ago
Tom Lane c90b85e4d9 Second try at fixing warnings caused by commit 9b43d73b3f. 11 years ago
Robert Haas ef3f9e642d Attempt to fix some compiler warnings. 11 years ago
Bruce Momjian 9b43d73b3f to_char(): have format 'OF' only show the leading negative sign 11 years ago
Bruce Momjian 33a2c5ecd6 to_char: revert cc0d90b73b 11 years ago
Bruce Momjian cc0d90b73b to_char(float4/8): zero pad to specified length 11 years ago
Noah Misch 237795a7b4 Check DCH_MAX_ITEM_SIZ limits with <=, not <. 11 years ago
Bruce Momjian 9241c84cbc to_char(): prevent writing beyond the allocated buffer 11 years ago
Bruce Momjian 0150ab567b to_char(): prevent accesses beyond the allocated buffer 11 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Bruce Momjian 95c38a9895 Revert f68dc5d86b 11 years ago
Bruce Momjian f68dc5d86b More formatting.c variable renaming, for clarity 11 years ago
Bruce Momjian a9c22d1480 Rename C variables in formatting.c, for clarity 11 years ago
Heikki Linnakangas 51f41e8c0a Fix typos in comments. 12 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Tom Lane 9a8f5729b4 Fix to_timestamp/to_date's handling of consecutive spaces in format string. 12 years ago
Tom Lane 0d79c0a8cc Make various variables const (read-only). 12 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Robert Haas a8656a3ab0 Make NUM_TOCHAR_prepare and NUM_TOCHAR_finish macros declare "len". 12 years ago
Bruce Momjian 7408c5d29b Add timezone offset output option to to_char() 13 years ago
Bruce Momjian 9af4159fce pgindent run for release 9.3 13 years ago
Tom Lane 35d50b527a Fix to_number() to correctly ignore thousands separator when it's '.'. 13 years ago
Tom Lane 80b011ef0a Fix to_char() to use ASCII-only case-folding rules where appropriate. 13 years ago
Tom Lane 5c4eb9166e Reject out-of-range dates in to_date(). 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago