Tom Lane wrote:
>"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);
>
>
Whoops.... I think that was both a thinko and a typeo :-) Yes your one
line will work much better. I'll submit another patch in a few days,
unless someone beats me to it.
Thanks for fixing that.
Matthew