pg_stat_have_stats() returns true for dropped indexes (or for index creation transaction rolled back)

Edit
Title pg_stat_have_stats() returns true for dropped indexes (or for index creation transaction rolled back)
Topic Bug Fixes
Created 2022-08-22 16:50:21
Last modified 2022-09-26 08:29:07 (1 day, 2 hours ago)
Latest email 2022-09-26 13:28:16 (21 hours, 15 minutes ago)
Status
2022-09: Committed
Target version 16
Authors Bertrand Drouvot (bdrouvot)
Reviewers Yogesh Sharma (sharmay)Become reviewer
Committer Andres Freund (andresfreund)
Links
Emails
pg_stat_have_stats() returns true for dropped indexes (or for index creation transaction rolled back)
First at 2022-08-22 16:39:07 by "Drouvot, Bertrand" <bdrouvot at amazon.com>
Latest at 2022-09-26 13:28:16 by "Drouvot, Bertrand" <bertranddrouvot.pg at gmail.com>
Latest attachment (v4-0001-pgstat_drop_relation-for-indexes.patch) at 2022-09-01 06:40:54 from "Drouvot, Bertrand" <bdrouvot at amazon.com>
    Attachment (v4-0001-pgstat_drop_relation-for-indexes.patch) at 2022-09-01 06:40:54 from "Drouvot, Bertrand" <bdrouvot at amazon.com> (Patch: Yes)
    Attachment (v3-0001-pgstat_drop_relation-for-indexes.patch) at 2022-08-25 09:44:34 from "Drouvot, Bertrand" <bdrouvot at amazon.com> (Patch: Yes)
    Attachment (v1-0002-pgstat_drop_relation-for-indexes.patch) at 2022-08-23 07:58:03 from "Drouvot, Bertrand" <bdrouvot at amazon.com> (Patch: Yes)
    Attachment (v1-0001-pgstat_drop_relation-for-indexes.patch) at 2022-08-22 16:39:07 from "Drouvot, Bertrand" <bdrouvot at amazon.com> (Patch: Yes)
History
When Who What
2022-09-26 08:29:07 Bertrand Drouvot (bertranddrouvot.pg) Closed in commitfest 2022-09 with status: Committed
2022-09-26 08:29:07 Bertrand Drouvot (bertranddrouvot.pg) Changed committer to andresfreund
2022-09-01 11:28:51 Yogesh Sharma (sharmay) Added sharmay as reviewer
2022-08-22 16:50:53 Bertrand Drouvot (bdrouvot) Changed authors to Bertrand Drouvot (bdrouvot)
2022-08-22 16:50:53 Bertrand Drouvot (bdrouvot) Changed targetversion to 16
2022-08-22 16:50:21 Bertrand Drouvot (bdrouvot) Attached mail thread 51bbf286-2b4a-8998-bd12-eaae4b765d99@amazon.com
2022-08-22 16:50:21 Bertrand Drouvot (bdrouvot) Created patch record
Edit