Re: Improve docs for n_distinct_inherited

2025-05-08 Thread David G. Johnston
On Wed, May 7, 2025 at 11:41 PM David Rowley wrote: > On Thu, 8 May 2025 at 15:23, David G. Johnston > wrote: > > Not liking the proposal, not sure it is even correct. Somehow "children > of inheritance parent tables" are omitted. > > I don't see the quoted text anywhere in this area, so I'm no

Re: Improve docs for n_distinct_inherited

2025-05-07 Thread David Rowley
On Thu, 8 May 2025 at 15:23, David G. Johnston wrote: > Not liking the proposal, not sure it is even correct. Somehow "children of > inheritance parent tables" are omitted. I don't see the quoted text anywhere in this area, so I'm not sure I follow what you mean with the omission. > In both c

Re: Improve docs for n_distinct_inherited

2025-05-07 Thread David G. Johnston
On Wed, May 7, 2025 at 4:15 PM David Rowley wrote: > In [1] there's a bug report about ALTER TABLE ... ALTER COLUMN SET > (n_distinct = N) not working for partitioned tables. Of course, you > need to use n_distinct_inherited for partitioned tables, but the docs > don't say that. > > I went throug

Improve docs for n_distinct_inherited

2025-05-07 Thread David Rowley
In [1] there's a bug report about ALTER TABLE ... ALTER COLUMN SET (n_distinct = N) not working for partitioned tables. Of course, you need to use n_distinct_inherited for partitioned tables, but the docs don't say that. I went through a few iterations of the wording to make this clearer and lande