Re: Preserve statistics targets with ALTER TABLE ALTER COLUMN TYPE

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: solai v <solai(dot)cdac(at)gmail(dot)com>
Cc: Melanie Plageman <melanieplageman(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Preserve statistics targets with ALTER TABLE ALTER COLUMN TYPE
Date: 2026-10-01 12:02:03
Message-ID: CAN4CZFOp2tQQ_OmjRJha=+2BuFBoCrm4QPFJFpoa0aRmL6y0Mw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I attached a rebased v2 since v1 no longer applies on master.

I kept both 0001 and 0002 for now since the other thread including
0001 is also still under discussion.

Attachment Content-Type Size
v2-0002-Preserve-statistics-targets-of-indexes-rebuilt-by.patch application/octet-stream 12.4 KB
v2-0001-Preserve-statistics-target-of-extended-statistics.patch application/octet-stream 11.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2026-10-01 12:05:20 Re: Revert RI fast-path batching from REL_19_STABLE
Previous Message Zsolt Parragi 2026-10-01 11:50:47 Re: pg_dump: ALTER INDEX SET STATISTICS missing for index-backed constraints