Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group