Re: pg_autovacuum vacuum cost variables patch v2 - Mailing list pgsql-patches

From Tom Lane
Subject Re: pg_autovacuum vacuum cost variables patch v2
Date
Msg-id 8063.1099004228@sss.pgh.pa.us
Whole thread Raw
In response to pg_autovacuum vacuum cost variables patch v2  ("Matthew T. O'Connor" <matthew@zeut.net>)
Responses Re: pg_autovacuum vacuum cost variables patch v2  ("Matthew T. O'Connor" <matthew@zeut.net>)
List pgsql-patches
"Matthew T. O'Connor" <matthew@zeut.net> writes:
> +     if(operation == VACUUM_ANALYZE)
> +         update_table_thresholds(dbi, tbl, VACUUM_ANALYZE);
> +     else if(operation == VACUUM_ANALYZE)
> +         update_table_thresholds(dbi, tbl, ANALYZE_ONLY);

Surely that's not right ... are there any third cases here?  Why
not just a one-liner
    update_table_thresholds(dbi, tbl, operation);

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: dblink crash fix
Next
From: Andrew Dunstan
Date:
Subject: Re: rmtree cleanup