Re: docfix - DELETE doesn't affect auto-analyze - Mailing list pgsql-patches

From Tom Lane
Subject Re: docfix - DELETE doesn't affect auto-analyze
Date
Msg-id 6227.1184730905@sss.pgh.pa.us
Whole thread Raw
In response to Re: docfix - DELETE doesn't affect auto-analyze  (Bruce Momjian <bruce@momjian.us>)
Responses Re: docfix - DELETE doesn't affect auto-analyze
Re: docfix - DELETE doesn't affect auto-analyze
List pgsql-patches
Bruce Momjian <bruce@momjian.us> writes:
>> -    is compared to the total number of tuples inserted, updated, or deleted
>> +    is compared to the total number of tuples inserted or updated

As best I can tell, this description is even further away from the
actual CVS HEAD behavior than the previous one.  The code is comparing
against

        anltuples = tabentry->n_live_tuples + tabentry->n_dead_tuples -
            tabentry->last_anl_tuples;

and deletions surely increase n_dead_tuples.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: execl() sentinel
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: docfix - DELETE doesn't affect auto-analyze