Hi Zoslot, Thanks for reviewing my patch.
> There's still an issue with tablespaces no backend touched after > resetting stats (crashing): v12 creates the entry when the tablespace of a relation changes, in the same place that credits the old tablespace with what was counted before the move. The table lives in the new tablespace at that point, so it cannot be dropped underneath us. The recovery test now has your scenario,. Thanks, Shihao
pg_stat_tablespace-v12.patch
Description: Binary data
