mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Try to make recently-added analyze log message look something like
the others in style.
This commit is contained in:
parent
2a5b6a7c9b
commit
47c7f9ef1c
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/commands/analyze.c,v 1.60 2003/08/26 15:38:42 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/commands/analyze.c,v 1.61 2003/09/11 22:59:28 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -690,8 +690,10 @@ pageloop:;
|
|||||||
/*
|
/*
|
||||||
* Emit some interesting relation info
|
* Emit some interesting relation info
|
||||||
*/
|
*/
|
||||||
elog(elevel, " pages = %d rows/page = %d rows = %.0f",
|
ereport(elevel,
|
||||||
onerel->rd_nblocks, (int)tuplesperpage, *totalrows);
|
(errmsg("\"%s\": %u pages, %.1f average rows/page in sample, %.0f estimated rows",
|
||||||
|
RelationGetRelationName(onerel),
|
||||||
|
onerel->rd_nblocks, tuplesperpage, *totalrows)));
|
||||||
|
|
||||||
return numrows;
|
return numrows;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user