Minor verbosity increase for analyze - Mailing list pgsql-patches

From Mark Kirkwood
Subject Minor verbosity increase for analyze
Date
Msg-id 3F2992C5.1060505@paradise.net.nz
Whole thread Raw
Responses Re: Minor verbosity increase for analyze  (Mark Kirkwood <markir@paradise.net.nz>)
Re: Minor verbosity increase for analyze  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
Attached is a (very small) patch to make analyze display some
interesting info in
verbose mode about the analyzed relation (pages, rows per block and rows ).

This is all available in the statistics catalog but I have found it
useful to see it appear as
you run...

mods to :

src/backend/commands/analyze.c

plain diff against current CVS (31/07/2003 NZST)

Best wishes

Mark


696a697,702
>     /*
>      * emit some interesting relation info
>      */
>     elog(elevel, "  pages = %d rows/page = %d rows = %d",
>         onerel->rd_nblocks, (int)tuplesperpage, (int)*totalrows);
>

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: ruleutils with pretty-print option
Next
From: Dave Allen
Date:
Subject: Check for failed memory allocations in libpq