Re: A few new options for vacuumdb

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: A few new options for vacuumdb
Date: 2019-01-28 21:58:17
Message-ID: F8E72C02-C1D7-4193-A416-B9147A9F1511@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/27/19, 9:57 PM, "Michael Paquier" <michael(at)paquier(dot)xyz> wrote:
> I think that the query generation could be simplified by always using
> the CTE if column lists are present or not, by associating NULL if no
> column list is present, and by moving the regclass casting directly
> into the CTE.

Yes, this simplifies the code quite a bit. I did it this way in v6.

Nathan

Attachment Content-Type Size
v6-0001-Export-split_table_columns_spec-for-use-in-vacuum.patch application/octet-stream 1.9 KB
v6-0002-Always-use-a-catalog-query-to-discover-tables-to-.patch application/octet-stream 8.6 KB
v6-0003-Add-min-xid-age-and-min-mxid-age-options-to-vacuu.patch application/octet-stream 7.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-01-28 22:05:32 Re: Early WIP/PoC for inlining CTEs
Previous Message Andres Freund 2019-01-28 21:57:07 Re: Install JIT headers