Re: BUG #15185: pg_dump doesn't include statistics when specifying a table

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: postgresql(at)lightn(dot)org, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15185: pg_dump doesn't include statistics when specifying a table
Date: 2018-05-03 15:17:43
Message-ID: 20180503151743.uqrw6tmrq7td6kyl@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form wrote:

> After using the CREATE STATISTICS command to create multi-column statistics
> on a table, calling pg_dump with the -t option doesn't include that
> definition, but it does include things like indexes.

I share your opinion that it should, but I was outvoted on that one and
didn't press any further. See
https://www.postgresql.org/message-id/20180212150708.4vt2p2237fyh6bfx@alvherre.pgsql
for the old discussion.

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Gierth 2018-05-03 15:40:42 Re: BUG #15184: Planner overestimates number of rows in empty table
Previous Message PG Bug reporting form 2018-05-03 15:09:42 BUG #15185: pg_dump doesn't include statistics when specifying a table