Re: Minor verbosity increase for analyze

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: Minor verbosity increase for analyze
Дата
Msg-id 3F29BB37.800@paradise.net.nz
обсуждение исходный текст
Ответ на Minor verbosity increase for analyze  (Mark Kirkwood <markir@paradise.net.nz>)
Ответы Re: Minor verbosity increase for analyze  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Minor verbosity increase for analyze  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Minor verbosity increase for analyze  (Mark Kirkwood <markir@paradise.net.nz>)
Список pgsql-patches
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;
 }


В списке pgsql-patches по дате отправления:

Предыдущее
От: Dave Allen
Дата:
Сообщение: Check for failed memory allocations in libpq
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: ruleutils with pretty-print option