Re: [HACKERS] Backport of pg_statistics typos fix - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Backport of pg_statistics typos fix
Date
Msg-id 6e7cba41-96c2-57cb-f405-9d5e35286fe6@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] Backport of pg_statistics typos fix  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2/8/17 14:54, Robert Haas wrote:
> BTW, looking at that commit, this change looks to have adjusted this
> from being wrong to still being wrong:
> 
> -<listitem><para>Allow pg_statistics to be reset by calling
> pg_stat_reset() (Christopher)</para></listitem>
> +<listitem><para>Allow pg_statistic to be reset by calling
> pg_stat_reset() (Christopher)</para></listitem>
> 
> It's true that pg_stat_reset() doesn't reset the nonexistent
> pg_statistics table.  But it doesn't reset pg_statistic either.  IIUC,
> it resets the data gathered by the statistics collector, which is
> something else altogether.

Fixed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] Faster methods for getting SPI results
Next
From: Masahiko Sawada
Date:
Subject: Re: [HACKERS] Transactions involving multiple postgres foreign servers