pgsql: Prevent pgstats from getting confused when relkind of a relation

2022-12-02 Thread Andres Freund
Prevent pgstats from getting confused when relkind of a relation changes When the relkind of a relache entry changes, because a table is converted into a view, pgstats can get confused in 15+, leading to crashes or assertion failures. For HEAD, Tom fixed this in b23cd185fd5, by removing support f

pgsql: Prevent pgstats from getting confused when relkind of a relation

2022-12-02 Thread Andres Freund
Prevent pgstats from getting confused when relkind of a relation changes When the relkind of a relache entry changes, because a table is converted into a view, pgstats can get confused in 15+, leading to crashes or assertion failures. For HEAD, Tom fixed this in b23cd185fd5, by removing support f

pgsql: Prevent pgstats from getting confused when relkind of a relation

2022-12-02 Thread Andres Freund
Prevent pgstats from getting confused when relkind of a relation changes When the relkind of a relache entry changes, because a table is converted into a view, pgstats can get confused in 15+, leading to crashes or assertion failures. For HEAD, Tom fixed this in b23cd185fd5, by removing support f

pgsql: Prevent pgstats from getting confused when relkind of a relation

2022-12-02 Thread Andres Freund
Prevent pgstats from getting confused when relkind of a relation changes When the relkind of a relache entry changes, because a table is converted into a view, pgstats can get confused in 15+, leading to crashes or assertion failures. For HEAD, Tom fixed this in b23cd185fd5, by removing support f

pgsql: Prevent pgstats from getting confused when relkind of a relation

2022-12-02 Thread Andres Freund
Prevent pgstats from getting confused when relkind of a relation changes When the relkind of a relache entry changes, because a table is converted into a view, pgstats can get confused in 15+, leading to crashes or assertion failures. For HEAD, Tom fixed this in b23cd185fd5, by removing support f

pgsql: Prevent pgstats from getting confused when relkind of a relation

2022-12-02 Thread Andres Freund
Prevent pgstats from getting confused when relkind of a relation changes When the relkind of a relache entry changes, because a table is converted into a view, pgstats can get confused in 15+, leading to crashes or assertion failures. For HEAD, Tom fixed this in b23cd185fd5, by removing support f