| From: | Michael Paquier <michael(at)paquier(dot)xyz> |
|---|---|
| To: | Corey Huinker <corey(dot)huinker(at)gmail(dot)com> |
| Cc: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, Tender Wang <tndrwang(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Extended Statistics set/restore/clear functions. |
| Date: | 2026-01-17 00:13:53 |
| Message-ID: | aWrUQazVzr_GbZIz@paquier.xyz |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Jan 16, 2026 at 03:50:50PM +0900, Michael Paquier wrote:
> Note that the restore function needs tests for the inherited record
> case, and that we had the same error as the clear function when
> grabbing the argument value for inherited. I have fixed the bug, did
> not include any tests yet. Another thing that I find lacking is
> coverage for the many paths that refer to incorrect input formats. A
> lot of them are not covered at all, which is not good. I did not look
> at the pg_dump portion yet.
Here's a v27, with pg_dump/pg_upgrade fixed to handle the new version
of the restore function with the table name and its schema specified
in input arguments.
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| v27-0001-Add-pg_restore_extended_stats.patch | text/x-diff | 100.7 KB |
| v27-0002-Include-Extended-Statistics-in-pg_dump.patch | text/x-diff | 14.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-01-17 00:19:38 | Re: 001_password.pl fails with --without-readline |
| Previous Message | Sami Imseih | 2026-01-17 00:12:16 | Re: pg_stat_statements: Fix nested tracking for implicitly closed cursors |