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: (view raw, whole thread or download thread mbox)
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


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-2017 The PostgreSQL Global Development Group