| From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Improve docs for n_distinct_inherited |
| Date: | 2025-05-07 23:14:48 |
| Message-ID: | CAApHDvrL7a-ZytM1SP8Uk9nEw9bR2CPzVb+uP+bcNj=_q-ZmVw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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 landed on the attached.
David
[1] https://postgr.es/m/18916-985c04e9b5bed12b@postgresql.org
| Attachment | Content-Type | Size |
|---|---|---|
| doc_n_distinct_inherited.patch | application/octet-stream | 949 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nikhil Kumar Veldanda | 2025-05-07 23:39:17 | Re: ZStandard (with dictionaries) compression support for TOAST compression |
| Previous Message | Álvaro Herrera | 2025-05-07 22:39:02 | Re: [PATCH] Fix missing comma in Requires.private with a Make macro |