diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-08-28 15:58:23 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2021-08-28 15:58:23 -0400 |
commit | e1efc5b465c844969a0ed0d07e1364f3ce424d8c (patch) | |
tree | ba19ee5817c961931573ab8b067db39dc1e41e39 /src/backend/access/gist | |
parent | 359bcf775550aa577c86ea30a6d071487fcca1ed (diff) | |
download | postgresql-e1efc5b465c844969a0ed0d07e1364f3ce424d8c.tar.gz postgresql-e1efc5b465c844969a0ed0d07e1364f3ce424d8c.zip |
Keep stats up to date for partitioned tables
In the long-going saga for analyze on partitioned tables, one thing I
missed while reverting 0827e8af70f4 is the maintenance of analyze count
and last analyze time for partitioned tables. This is a mostly trivial
change that enables users assess the need for invoking manual ANALYZE on
partitioned tables.
This patch, posted by Justin and modified a bit by me (Álvaro), can be
mostly traced back to Hosoya-san, though any problems introduced with
the scissors are mine.
Backpatch to 14, in line with 6f8127b73901.
Co-authored-by: Yuzuko Hosoya <yuzukohosoya@gmail.com>
Co-authored-by: Justin Pryzby <pryzby@telsasoft.com>
Co-authored-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reported-by: Justin Pryzby <pryzby@telsasoft.com>
Discussion: https://postgr.es/m/20210816222810.GE10479@telsasoft.com
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions