From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Minor verbosity increase for analyze |
Date: | 2003-08-26 15:39:20 |
Message-ID: | 200308261539.h7QFdKQ07396@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
This was the actual patch applied.
---------------------------------------------------------------------------
Mark Kirkwood wrote:
> After browsing this list, I thought I would re-submit this in a more
> standard form.
>
> In addition I corrected a couple of things (integer cast for the number
> of rows,
> and capitalization in the comment)
>
> regards
>
> Mark
>
> --- src/backend/commands/analyze.c.orig 2003-07-31 20:49:22.000000000 -0400
> +++ src/backend/commands/analyze.c 2003-07-31 20:49:29.000000000 -0400
> @@ -694,6 +694,12 @@
> */
> *totalrows = floor((double) onerel->rd_nblocks * tuplesperpage + 0.5);
>
> + /*
> + * Emit some interesting relation info
> + */
> + elog(elevel, " pages = %d rows/page = %d rows = %.0f",
> + onerel->rd_nblocks, (int)tuplesperpage, *totalrows);
> +
> return numrows;
> }
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-08-26 18:32:32 | Re: add (minimal) UPDATE regression test |
Previous Message | Bruce Momjian | 2003-08-26 15:38:50 | Re: Minor verbosity increase for analyze |