View Single Post

   
  #2 (permalink)  
Old 04-12-2008, 03:13 AM
Tom Lane
 
Posts: n/a
Default Re: [COMMITTERS] pgsql: Clamp last_anl_tuples to n_live_tuples, in case we vacuum a table

Alvaro Herrera <alvherre@commandprompt.com> writes:
> On a loosely related matter, how about changing pg_class.relpages to
> pg_class.reldensity?


IIRC, I considered this earlier, and rejected it because it doesn't cope
well with the corner case relpages == 0. Also, it'll break existing
clients that expect to find relpages and reltuples, if there are any
--- which is not a very strong argument, certainly, but the argument in
favor of changing seems even weaker.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote