Re: Minor verbosity increase for analyze - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Minor verbosity increase for analyze
Date
Msg-id 200308170347.h7H3luV05186@candle.pha.pa.us
Whole thread Raw
In response to Re: Minor verbosity increase for analyze  (Mark Kirkwood <markir@paradise.net.nz>)
List pgsql-patches
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


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@postgresql.org

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Re: [pgsql-advocacy] Why READ ONLY transactions?
Next
From: Bruce Momjian
Date:
Subject: Re: contrib/binarycopy