From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | yuansong <yyuansong(at)126(dot)com> |
Cc: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Re: Re:Re:Re: backup server core when redo btree_xlog_insert that type is XLOG_BTREE_INSERT_POST |
Date: | 2025-01-12 22:43:57 |
Message-ID: | CAH2-Wz=C_Vj_M8AHZLLb1bajc6bGiehX0goJLWKGwU=D8VGBNw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
On Sat, Jan 11, 2025 at 4:40 AM yuansong <yyuansong(at)126(dot)com> wrote:
> If such index anomalies need to be checked, it would be better to do so using external tools rather than checking during the core search process.
Why? Did you use an external tool?
> If you agree with this proposal, I can try to implement the related fix later.
I strongly disagree.
If the hardening in this function (and similar hardening elsewhere)
had been in place on the production server that you were using (if
you'd kept up with point releases, rather than staying on 13.2) then
you almost certainly wouldn't have had the problem of
btree_xlog_insert crashing in the first place. The problem would have
been contained, and you'd probably only have needed to REINDEX to fix
everything. But you now propose to *remove* that hardening, because it
is "confusing and inefficient". This seems illogical.
--
Peter Geoghegan
From | Date | Subject | |
---|---|---|---|
Next Message | Jelte Fennema-Nio | 2025-01-12 23:11:49 | Re: Include patch id in commitfest page |
Previous Message | Erik Wienhold | 2025-01-12 21:33:05 | Re: CREATE OR REPLACE MATERIALIZED VIEW |
From | Date | Subject | |
---|---|---|---|
Previous Message | Daniel Gustafsson | 2025-01-12 16:20:23 | Re: BUG #18769: ldapscheme is not displayed in pg_hba_file_rules |