Re: pgsql: autovacuum: handle analyze for partitioned tables - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pgsql: autovacuum: handle analyze for partitioned tables
Date
Msg-id 20210408201149.GA32386@alvherre.pgsql
Whole thread Raw
In response to Re: pgsql: autovacuum: handle analyze for partitioned tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: autovacuum: handle analyze for partitioned tables
List pgsql-hackers
On 2021-Apr-08, Tom Lane wrote:

> > So I tend to think that my initial instinct was the better direction: we
> > should not be doing any find_all_inheritors() here at all, but instead
> > rely on pg_class.reltuples to be set for the partitioned table.
> 
> +1

This patch does that.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W
"I dream about dreams about dreams", sang the nightingale
under the pale moon (Sandman)

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] Custom compression methods
Next
From: Zhihong Yu
Date:
Subject: Re: pgsql: autovacuum: handle analyze for partitioned tables