Commit Graph

288 Commits (9ad7a32b2a151a7052016e55acdeb20247acefdd)

Author SHA1 Message Date
Thomas Munro f95ad555de Replace pgwin32_is_junction() with lstat(). 2 years ago
Tom Lane dfff687f3c Guard against enormously long input in pg_saslprep(). 2 years ago
Heikki Linnakangas a38f5f880d Make fallback MD5 implementation thread-safe on big-endian systems 2 years ago
Michael Paquier 8c3f30e675 Fix overread in JSON parsing errors for incomplete byte sequences 2 years ago
Nathan Bossart 3726c1cb0e Move is_valid_ascii() to ascii.h. 2 years ago
Tom Lane 985ac5ce29 Improve pglz_decompress's defenses against corrupt compressed data. 3 years ago
Thomas Munro 5e39884d32 Try to handle torn reads of pg_control in frontend. 3 years ago
Tom Lane 74a1a36d75 Fix JSON error reporting for many cases of erroneous string values. 3 years ago
Alvaro Herrera 1eeac95dc4
Change some errdetail() to errdetail_internal() 4 years ago
Peter Eisentraut 517484b582 Message style improvements 4 years ago
Michael Paquier ade925e169 Use min/max bounds defined by Zstd for compression level 4 years ago
Michael Paquier 53332eacaf Simplify handling of compression level with compression specifications 4 years ago
Thomas Munro fc4e5af307 Fix get_dirent_type() for symlinks on MinGW/MSYS. 4 years ago
Peter Eisentraut a8cca6026e logging: Also add the command prefix to detail and hint messages 4 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 4 years ago
Daniel Gustafsson 17ec5fa502 Clear the OpenSSL error queue before cryptohash operations 4 years ago
Andrew Dunstan b787c554c2 Inhibit mingw CRT's auto-globbing of command line arguments 4 years ago
Tom Lane 587de223f0 Add missing error handling in pg_md5_hash(). 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
Tom Lane 2c9381840f Remove not-very-useful early checks of __pg_log_level in logging.h. 4 years ago
Michael Paquier a4b57543ac Rename backup_compression.{c,h} to compression.{c,h} 4 years ago
Peter Eisentraut c215cc7b61 Add color support for new frontend detail/hint messages 4 years ago
Tom Lane 9a374b77fb Improve frontend error logging style. 4 years ago
Robert Haas 8e053dc6df Fix possible NULL-pointer-deference in backup_compression.c. 4 years ago
Robert Haas 51c0d186d9 Allow parallel zstd compression when taking a base backup. 4 years ago
Peter Eisentraut c64fb698d0 Make update-unicode target work in vpath builds 4 years ago
Robert Haas 68d8f9bfb2 In get_bc_algorithm_name, add a dummy return statement. 4 years ago
Robert Haas ffd53659c4 Replace BASE_BACKUP COMPRESSION_LEVEL option with COMPRESSION_DETAIL. 4 years ago
John Naylor 4b35408f1e Use bitwise rotate functions in more places 4 years ago
Tom Lane 291ec6e45e Suppress integer-overflow compiler warning for inconsistent sun_len. 4 years ago
John Naylor d3f45323bb Improve code clarity in epilogue of UTF-8 verification fast path 4 years ago
Michael Paquier 5513dc6a30 Improve error handling of HMAC computations 4 years ago
Michael Paquier 87f29f4fcc Fix incorrect comments in hmac.c and hmac_openssl.c 4 years ago
Michael Paquier 9a3d8e1886 Fix comment related to pg_cryptohash_error() 4 years ago
Michael Paquier b69aba7457 Improve error handling of cryptohash computations 4 years ago
Thomas Munro f3e78069db Make EXEC_BACKEND more convenient on Linux and FreeBSD. 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
John Naylor 911588a3f8 Add fast path for validating UTF-8 text 5 years ago
Michael Paquier 6fb7c5d67c Centralize timestamp computation of control file on updates 5 years ago
Tom Lane 3804539e48 Replace random(), pg_erand48(), etc with a better PRNG API and algorithm. 5 years ago
Tom Lane 46d665bc26 Allow psql's other uses of simple_prompt() to be interrupted by ^C. 5 years ago
Tom Lane 5f1148224b Provide a variant of simple_prompt() that can be interrupted by ^C. 5 years ago
Michael Paquier 098c134556 Fix buffer overrun in unicode string normalization with empty input 5 years ago
Daniel Gustafsson 0ded7039fa Fix memory leak in pg_hmac 5 years ago
Michael Paquier e767ddcd35 Fix typos and grammar in code comments 5 years ago
John Naylor 5bc429aacb Extend collection of Unicode combining characters to beyond the BMP 5 years ago
John Naylor bab982161e Update display widths as part of updating Unicode 5 years ago
John Naylor 1563ecbc1b Revert "Rename unicode_combining_table to unicode_width_table" 5 years ago
John Naylor f8c8a8bccc Revert "Change mbbisearch to return the character range" 5 years ago
John Naylor 78ab944cd4 Change mbbisearch to return the character range 5 years ago