pgsql: More precise errors from initial pg_control check
Started by Peter Eisentrautover 6 years ago1 messagescomitters
More precise errors from initial pg_control check
Use a separate error message for invalid checkpoint location and
invalid state instead of just "invalid data" for both.
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: /messages/by-id/20191107041630.GK1768@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b85e43feb3e837699239aba6b8e0f280a59417be
Modified Files
--------------
src/backend/access/transam/xlog.c | 82 +++++++++++++++++++++++----------------
1 file changed, 48 insertions(+), 34 deletions(-)