Re: New VACUUM FULL - Mailing list pgsql-hackers

From Itagaki Takahiro
Subject Re: New VACUUM FULL
Date
Msg-id 20091116133733.7D66.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: New VACUUM FULL  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: New VACUUM FULL
Re: New VACUUM FULL
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> wrote:

> You left INPLACE in the patch

Oops, removed.

> Sounds fine, but worth a mention in the documentation. Just add to the
> "columns" part of the VACUUM page something like: "If specified, implies
> ANALYZE".

Added.

> Other than these two minor issues, I don't see any problems with the
> patch. Please post an updated version to the new commitfest entry.

All of the vacuum options are adjusted in gram.y in the current patch.
We only check the options with assertions in vacuum():

    /* sanity checks */
    Assert(vacstmt->options & (VACOPT_VACUUM | VACOPT_ANALYZE));
    Assert(!(vacstmt->options & (VACOPT_FULL | VACOPT_FREEZE)) ||
            (vacstmt->options & VACOPT_VACUUM));
    Assert(vacstmt->va_cols == NIL || (vacstmt->options & VACOPT_ANALYZE));


Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Attachment

pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: Rejecting weak passwords
Next
From: Pavel Stehule
Date:
Subject: Re: named parameters in SQL functions