Commit Graph

688 Commits (7ef04e4d2cb287e4e28b87f24b4b36ef4e07530b)

Author SHA1 Message Date
Andrew Dunstan 7f284debaf Disable MSVC warning caused by recent snprintf.c changes 7 years ago
Thomas Munro 3fd2a7932e Provide pg_pread() and pg_pwrite() for random I/O. 7 years ago
Peter Eisentraut 0a8590b2a0 Apply unconstify() in more places 7 years ago
Tom Lane f1885386f6 Make float exponent output on Windows look the same as elsewhere. 7 years ago
Tom Lane 7767aadd94 Fix omissions in snprintf.c's coverage of standard *printf functions. 7 years ago
Tom Lane 6eb3eb577d Improve snprintf.c's handling of NaN, Infinity, and minus zero. 7 years ago
Andres Freund d173652797 Replace uint64 use introduced in 4868e44685 in light of 595a0eab7f. 7 years ago
Andres Freund 4868e44685 Ensure that snprintf.c's fmtint() doesn't overflow when printing INT64_MIN. 7 years ago
Tom Lane 595a0eab7f Rationalize snprintf.c's handling of "ll" formats. 7 years ago
Tom Lane 6d842be6c1 Provide fast path in snprintf.c for conversion specs that are just "%s". 7 years ago
Tom Lane abd9ca377d Make assorted performance improvements in snprintf.c. 7 years ago
Tom Lane 625b38ea0e Set snprintf.c's maximum number of NL arguments to be 31. 7 years ago
Tom Lane 7143b3e821 Build src/common files as a library with -fPIC. 7 years ago
Tom Lane ea53100d56 Build src/port files as a library with -fPIC, and use that in libpq. 7 years ago
Tom Lane d6c55de1f9 Implement %m in src/port/snprintf.c, and teach elog.c to rely on that. 7 years ago
Tom Lane 96bf88d527 Always use our own versions of *printf(). 7 years ago
Tom Lane 758ce9b779 Incorporate strerror_r() into src/port/snprintf.c, too. 7 years ago
Tom Lane 26e9d4d4ef Convert elog.c's useful_strerror() into a globally-used strerror wrapper. 7 years ago
Michael Paquier 40cfe86068 Enforce translation mode for Windows frontends to text with open/fopen 7 years ago
Tom Lane 75f7855369 Fix inconsistent argument naming. 7 years ago
Peter Eisentraut 842cb9fa62 Refactor dlopen() support 7 years ago
Tom Lane cc4f6b7786 Clean up assorted misuses of snprintf()'s result value. 7 years ago
Tom Lane 805889d7d2 Make snprintf.c follow the C99 standard for snprintf's result value. 8 years ago
Dean Rasheed 8f6ce7fb09 Guard against rare RAND_bytes() failures in pg_strong_random(). 8 years ago
Alvaro Herrera f2c587067a Rethink how to get float.h in old Windows API for isnan/isinf 8 years ago
Andrew Dunstan feced1387f Stamp HEAD as 12devel 8 years ago
Tom Lane 50485b3e20 Fix simple_prompt() to disable echo on Windows when stdin != terminal. 8 years ago
Magnus Hagander fc2a41e23e Fix file paths in comments 8 years ago
Tom Lane a7a7387575 Further improve code for probing the availability of ARM CRC instructions. 8 years ago
Tom Lane 1c72ec6f49 Improve our method for probing the availability of ARM CRC instructions. 8 years ago
Tom Lane f83bf385c1 Preliminary work for pgindent run. 8 years ago
Tom Lane 3b8f6e75f3 Fix partial-build problems introduced by having more generated headers. 8 years ago
Heikki Linnakangas 3a5e0a91bb Fix the new ARMv8 CRC code for short and unaligned input. 8 years ago
Heikki Linnakangas f044d71e33 Use ARMv8 CRC instructions where available. 8 years ago
Tom Lane 0c62356cc8 Add an assertion that we don't pass NULL to snprintf("%s"). 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Andres Freund fffd651e83 Rewrite strnlen replacement implementation from 8a241792f9. 8 years ago
Andres Freund 8a241792f9 Add pg_strnlen() a portable implementation of strlen. 8 years ago
Andres Freund 0c8b3ee944 Yet another pg_bswap typo in a windows only file. 8 years ago
Andres Freund 859759b62f Correct include file name in inet_aton fallback. 8 years ago
Andres Freund 0ba99c84e8 Replace most usages of ntoh[ls] and hton[sl] with pg_bswap.h. 8 years ago
Tom Lane 9f14dc393b Stamp HEAD as 11devel. 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 8939020853 Run the postmaster's signal handlers without SA_RESTART. 9 years ago
Tom Lane 3e51725b38 Avoid depending on non-POSIX behavior of fcntl(2). 9 years ago
Andrew Dunstan 0eba6be1b8 Downcase "Wincrypt.h" 9 years ago
Heikki Linnakangas ff30aec759 Fix and simplify check for whether we're running as Windows service. 9 years ago