| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove open-coding of index_set_state_flags |
| Date: | 2026-11-11 15:17:47 |
| Message-ID: | E1xRA55-00000000KLw-35DF@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Remove open-coding of index_set_state_flags
(The new code does reset indisclustered and indisreplident in addition
to indisvalid, but that doesn't harm anything as far as I can tell.)
I (Álvaro) failed to notice I was writing duplicate code for commit
8b08f7d4820f.
Extracted from a larger patch by the same author.
Author: Justin Pryzby <pryzbyj(at)telsasoft(dot)com>
Reviewed-by: Alexander Pyhalov <a(dot)pyhalov(at)postgrespro(dot)ru>
Discussion: https://postgr.es/m/20201031063117.GF3080@telsasoft.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2b4b768537f39ab5ebc31548829889a0bf2e4395
Modified Files
--------------
src/backend/commands/indexcmds.c | 16 +---------------
1 file changed, 1 insertion(+), 15 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tomas Vondra | 2026-11-11 15:35:24 | pgsql: Fix constant propagation through FULL JOIN clauses |
| Previous Message | Dean Rasheed | 2026-11-11 12:27:11 | pgsql: Fix MERGE into partitioned table with subquery in UPDATE targetl |