From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add error codes to some PANIC/FATAL errors reports |
Date: | 2024-04-03 07:49:10 |
Message-ID: | E1rrvMr-000FpA-FF@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add error codes to some PANIC/FATAL errors reports
This adds errcodes to a set of PANIC and FATAL errors in xlog.c
and relcache.c, which previously had no errcode at all set, in
order to make fleetwide analysis of errorlogs easier. There are
many more ereport/elogs left which could benefit from having an
errcode but this at least makes a dent in the issue.
Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAN55FZ1k8LgLEqncPGmz_fWnrobV6bjABOTH4tOWta6xNcPQig@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/226261f387fd8b44420ad03298ef09d83571f9b1
Modified Files
--------------
src/backend/access/transam/xlog.c | 77 +++++++++++++++++++++++++-------------
src/backend/utils/cache/relcache.c | 26 +++++++++----
2 files changed, 71 insertions(+), 32 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2024-04-03 08:32:46 | pgsql: Minor improvements for waitlsn.c |
Previous Message | Masahiko Sawada | 2024-04-03 06:15:01 | Re: pgsql: Implement pg_wal_replay_wait() stored procedure |