Re: docfix - DELETE doesn't affect auto-analyze

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-patches(at)postgresql(dot)org
Subject: Re: docfix - DELETE doesn't affect auto-analyze
Date: 2007-07-18 03:55:05
Message-ID: 6227.1184730905@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message ITAGAKI Takahiro 2007-07-18 04:16:38 Re: docfix - DELETE doesn't affect auto-analyze
Previous Message Tom Lane 2007-07-18 03:40:17 Re: execl() sentinel