summaryrefslogtreecommitdiff
path: root/src/port/snprintf.c
AgeCommit message (Expand)Author
2025-04-01Fix detection and handling of strchrnul() for macOS 15.4.Tom Lane
2025-03-28Revert "Tidy up locale thread safety in ECPG library."Peter Eisentraut
2025-03-28Tidy up locale thread safety in ECPG library.Peter Eisentraut
2025-01-01Update copyright for 2025Bruce Momjian
2024-12-04Use <stdint.h> and <inttypes.h> for c.h integers.Thomas Munro
2024-01-04Update copyright for 2024Bruce Momjian
2023-01-02Update copyright for 2023Bruce Momjian
2022-10-16Use libc's snprintf, not sprintf, for special cases in snprintf.c.Tom Lane
2022-07-16Replace many MemSet calls with struct initializationPeter Eisentraut
2022-01-08Update copyright for 2022Bruce Momjian
2021-10-28Speed up printing of integers in snprintf.c.Tom Lane
2021-07-24Make printf("%s", NULL) print "(null)" instead of crashing.Tom Lane
2021-01-02Update copyright for 2021Bruce Momjian
2020-05-13Dial back -Wimplicit-fallthrough to level 3Alvaro Herrera
2020-05-12Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGSAlvaro Herrera
2020-01-01Update copyrights for 2020Bruce Momjian
2019-11-24Remove a couple of unnecessary if-tests.Tom Lane
2019-10-19Fix most -Wundef warningsPeter Eisentraut
2019-05-22Phase 2 pgindent run for v12.Tom Lane
2019-01-02Update copyright for 2019Bruce Momjian
2018-12-06Improve our response to invalid format strings, and detect more cases.Tom Lane
2018-11-11Disable MSVC warning caused by recent snprintf.c changesAndrew Dunstan
2018-10-12Make float exponent output on Windows look the same as elsewhere.Tom Lane
2018-10-08Fix omissions in snprintf.c's coverage of standard *printf functions.Tom Lane
2018-10-08Improve snprintf.c's handling of NaN, Infinity, and minus zero.Tom Lane
2018-10-03Replace uint64 use introduced in 4868e446859 in light of 595a0eab7f42.Andres Freund
2018-10-03Ensure that snprintf.c's fmtint() doesn't overflow when printing INT64_MIN.Andres Freund
2018-10-03Rationalize snprintf.c's handling of "ll" formats.Tom Lane
2018-10-03Provide fast path in snprintf.c for conversion specs that are just "%s".Tom Lane
2018-10-03Make assorted performance improvements in snprintf.c.Tom Lane
2018-10-02Set snprintf.c's maximum number of NL arguments to be 31.Tom Lane
2018-09-26Implement %m in src/port/snprintf.c, and teach elog.c to rely on that.Tom Lane
2018-08-15Make snprintf.c follow the C99 standard for snprintf's result value.Tom Lane
2018-07-11Rethink how to get float.h in old Windows API for isnan/isinfAlvaro Herrera
2018-02-14Add an assertion that we don't pass NULL to snprintf("%s").Tom Lane
2017-10-10Rewrite strnlen replacement implementation from 8a241792f96.Andres Freund
2017-10-09Add pg_strnlen() a portable implementation of strlen.Andres Freund
2017-06-21Phase 2 of pgindent updates.Tom Lane
2015-05-19Revert error-throwing wrappers for the printf family of functions.Tom Lane
2015-05-18Add error-throwing wrappers for the printf family of functions.Noah Misch
2015-05-18Permit use of vsprintf() in PostgreSQL code.Noah Misch
2015-02-04Add missing float.h include to snprintf.c.Andres Freund
2015-02-02port/snprintf(): fix overflow and do paddingBruce Momjian
2014-05-06pgindent run for 9.4Bruce Momjian
2014-01-23Allow use of "z" flag in our printf calls, and use it where appropriate.Tom Lane
2011-04-10pgindent run before PG 9.1 beta 1.Bruce Momjian
2010-09-20Remove cvs keywords from all files.Magnus Hagander
2010-07-06pgindent run for 9.0, second runBruce Momjian
2008-03-18Fix our printf implementation to follow spec: if a star parameterTom Lane
2007-03-26Remove advertising clause from Berkeley BSD-licensed files, perBruce Momjian