From: | Rui DeSousa <rui(dot)desousa(at)icloud(dot)com> |
---|---|
To: | Ron Johnson <ronljohnsonjr(at)gmail(dot)com> |
Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Request for feature: VACUUM FULL updates pg_stat_all_tables.last_vacuum |
Date: | 2024-05-09 20:45:41 |
Message-ID: | D8F01496-4E99-4EFE-B974-41861E3A0F69@icloud.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
> On May 9, 2024, at 4:39 PM, Ron Johnson <ronljohnsonjr(at)gmail(dot)com> wrote:
>
> On Thu, May 9, 2024 at 4:11 PM Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at <mailto:laurenz(dot)albe(at)cybertec(dot)at>> wrote:
> On Thu, 2024-05-09 at 09:58 -0400, Ron Johnson wrote:
> > Because vacuum is vacuum.
>
> The problem is that the two commands do something different, so it
> would be misleading. Renaming VACUUM (FULL) is a good idea in principle,
> but I think that is more than 10 years too late. The compatibility
> break would be too painful.
>
> Make VACUUM (FULL) a synonym for RECREATE TABLE, then say in the docs that VACUUM (FULL) is deprecated.
>
I think if you rename vacuum full then vacuum compact would be better fit than recreate table.
From | Date | Subject | |
---|---|---|---|
Next Message | Nikolay Samokhvalov | 2024-05-09 21:12:43 | Re: Request for feature: VACUUM FULL updates pg_stat_all_tables.last_vacuum |
Previous Message | Ron Johnson | 2024-05-09 20:39:01 | Re: Request for feature: VACUUM FULL updates pg_stat_all_tables.last_vacuum |