Commit Graph

356 Commits (f3a01af29b1941ca7937a45504ab10ef5f99cdff)

Author SHA1 Message Date
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Tom Lane d9f7f5d32f Create infrastructure for "soft" error reporting. 3 years ago
Tom Lane 8305629afe Minor code refactoring in elog.c (no functional change). 3 years ago
Michael Paquier d9d873bac6 Clean up some inconsistencies with GUC declarations 3 years ago
Tom Lane 235eb4db98 Simplify our Assert infrastructure a little. 3 years ago
Peter Geoghegan a601366a46 Harmonize more parameter names in bulk. 3 years ago
Tom Lane 0a20ff54f5 Split up guc.c for better build speed and ease of maintenance. 3 years ago
Tom Lane 7fed801135 Clean up inconsistent use of fflush(). 3 years ago
Jeff Davis b40baa96a7 Provide log_status_format(), useful for an emit_log_hook. 4 years ago
Peter Eisentraut 02c408e21a Remove redundant null pointer checks before free() 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
David Rowley b0e5f02ddc Fix various typos and spelling mistakes in code comments 4 years ago
Andres Freund bdbd3d9064 pgstat: stats collector references in comments. 4 years ago
Michael Paquier dc686681e0 Introduce log_destination=jsonlog 4 years ago
Michael Paquier bed6ed3de9 Move any code specific to log_destination=csvlog to its own file 4 years ago
Michael Paquier ac7c80758a Refactor set of routines specific to elog.c 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Michael Paquier 8b76f89c37 Refactor fallback to stderr for csvlog to handle better WIN32 service case 4 years ago
Michael Paquier 2d77d83540 Refactor the syslogger pipe protocol to use a bitmask for its options 4 years ago
Michael Paquier c4f7a6b87f Refactor one conversion of SQLSTATE to string in elog.c 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Bruce Momjian 9660834dd8 adjust query id feature to use pg_stat_activity.query_id 5 years ago
Bruce Momjian f57a2f5e03 Add csvlog output for the new query_id value 5 years ago
Bruce Momjian 4f0b0966c8 Make use of in-core query id added by commit 5fd9dfa5f5 5 years ago
Tom Lane 53aafdb9ff Strip file names reported in error messages on Windows, too. 5 years ago
Heikki Linnakangas ea1b99a661 Add 'noError' argument to encoding conversion functions. 5 years ago
Peter Eisentraut 91c5a8caaa Add errhint_plural() function and make use of it 5 years ago
Heikki Linnakangas 3174d69fb9 Remove server and libpq support for old FE/BE protocol version 2. 5 years ago
Magnus Hagander 960869da08 Add pg_stat_database counters for sessions and session time 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane 1f9158ba48 Suppress log spam from multiple reports of SIGQUIT shutdown. 5 years ago
Tom Lane 789b938bf2 Centralize logic for skipping useless ereport/elog calls. 5 years ago
David Rowley 913ec71d68 Improve compiler code layout in elog/ereport ERROR calls 5 years ago
Tom Lane fe27009cbb Recognize network-failure errnos as indicating hard connection loss. 5 years ago
Michael Paquier b8fdee7d0c Add %P to log_line_prefix for parallel group leader 5 years ago
Peter Eisentraut ff61359ad7 Log the location field before any backtrace 6 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 6 years ago
Tom Lane bda6dedbea Go back to returning int from ereport auxiliary functions. 6 years ago
Tom Lane 17a28b0364 Improve the internal implementation of ereport(). 6 years ago
Tom Lane e3a87b4991 Re-implement the ereport() macro using __VA_ARGS__. 6 years ago
Peter Eisentraut 70a7b4776b Add backend type to csvlog and optionally log_line_prefix 6 years ago
Peter Eisentraut d90bd24391 Remove am_syslogger global variable 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Alvaro Herrera 45ff049e28 Remove debugging aid 6 years ago
Alvaro Herrera 71a8a4f6e3 Add backtrace support for error reporting 6 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Tom Lane 3d360e20c9 Disallow setting client_min_messages higher than ERROR. 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 26e9d4d4ef Convert elog.c's useful_strerror() into a globally-used strerror wrapper. 7 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago