Re: pg_autovacuum vacuum cost variables patch v2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_autovacuum vacuum cost variables patch v2
Date: 2004-10-28 22:57:08
Message-ID: 8063.1099004228@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Matthew T. O'Connor" <matthew(at)zeut(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2004-10-29 00:33:09 Re: rmtree cleanup
Previous Message Tom Lane 2004-10-28 22:31:32 Re: dblink crash fix