Commit Graph

348 Commits (20796536c10fe7869e7af2c69615f14a80555c5d)

Author SHA1 Message Date
Jeff Davis b40baa96a7 Provide log_status_format(), useful for an emit_log_hook. 3 years ago
Peter Eisentraut 02c408e21a Remove redundant null pointer checks before free() 3 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 3 years ago
David Rowley b0e5f02ddc Fix various typos and spelling mistakes in code comments 3 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. 4 years ago
Bruce Momjian 9660834dd8 adjust query id feature to use pg_stat_activity.query_id 4 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 5 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 5 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
Noah Misch e02571b73f Don't call pgwin32_message_to_UTF16() without CurrentMemoryContext. 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Peter Eisentraut 1356f78ea9 Reduce excessive dereferencing of function pointers 8 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 8 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 8 years ago
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0. 8 years ago
Peter Eisentraut 6275f5d28a Fix new warnings from GCC 7 9 years ago
Peter Eisentraut f97a028d8e Spelling fixes in code comments 9 years ago