Re: REVIEW: Track TRUNCATE via pgstat

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Alex Shulgin <ash(at)commandprompt(dot)com>, Jim Nasby <Jim(dot)Nasby(at)bluetreble(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: REVIEW: Track TRUNCATE via pgstat
Date: 2015-02-13 07:33:11
Message-ID: CAB7nPqQVS6jUgwDOCEOiHNh7EVLkto+Ke5SgQ1YS9LEWTB+CTA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 24, 2015 at 5:58 AM, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
wrote:

> Here's v0.5. (Why did you use that weird decimal versioning scheme? You
> could just say "v4" and save a couple of keystrokes). This patch makes
> perfect sense to me now. I was ready to commit, but I checked the
> regression test you added and noticed that you're only reading results
> for the last set of operations because they all use the same table and
> so each new set clobbers the values for the previous one. So I modified
> them to use one table for each set, and report the counters for all
> tables. In doing this I noticed that the one for trunc_stats_test3 is
> at odds with what your comment in the .sql file says; would you review
> it please? Thanks.
>
> (I didn't update the expected file.)
>
> BTW you forgot to update expected/prepared_xact_1.out, for the case when
> prep xacts are disabled.
>
> If some other committer decides to give this a go, please remember to
> bump catversion before pushing.
>

Alex, this patch seems nicely backed. Could you review the changes of
Alvaro? This thread is waiting for your input for 3 weeks.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2015-02-13 07:35:22 Re: documentation update for doc/src/sgml/func.sgml
Previous Message Michael Paquier 2015-02-13 07:27:17 Re: Turning off HOT/Cleanup sometimes