Wrong rows count in EXPLAIN - Mailing list pgsql-hackers

From Пантюшин Александр Иванович
Subject Wrong rows count in EXPLAIN
Date
Msg-id ff929e5835d84b7daa5bca27e9b66323@gaz-is.ru
Whole thread Raw
Responses Re: Wrong rows count in EXPLAIN  (Andrey Borodin <x4mmm@yandex-team.ru>)
Re: Wrong rows count in EXPLAIN  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

When I create a new table, and then I evaluate the execution of the SELECT query, I see a strange rows count in EXPLAIN
CREATE TABLE test1(f INTEGER PRIMARY KEY NOT NULL);
ANALYZE test1;
EXPLAIN SELECT * FROM test1;
                       QUERY PLAN
---------------------------------------------------------
 Seq Scan on test1  (cost=0.00..35.50 rows=2550 width=4)
(1 row)

Table is empty but rows=2550. Seem like it was calculated from some default values.
Is this normal behavior or a bug? Can it lead to a poor choice of the plan of a query in general?

pgsql-hackers by date:

Previous
From: vignesh C
Date:
Subject: Re: Perform streaming logical transactions by background workers and parallel apply
Next
From: Andrey Borodin
Date:
Subject: Re: An attempt to avoid locally-committed-but-not-replicated-to-standby-transactions in synchronous replication