Re: [HACKERS] Reporting xmin from VACUUMs - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [HACKERS] Reporting xmin from VACUUMs
Date
Msg-id 20170210221828.jj2jnuwk4zxv7boq@alvherre.pgsql
Whole thread Raw
In response to Re: [HACKERS] Reporting xmin from VACUUMs  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas wrote:
> On Fri, Feb 10, 2017 at 3:30 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> > We've added xmin info to pg_stat_activity and pg_stat_replication, but
> > VACUUM doesn't yet report which xmin value it used when it ran.
> >
> > Small patch to add this info to VACUUM output.
> 
> It seems sensible to me to do something like this.  We already report
> a lot of other fine details, so what's one more?  And it could be
> useful.

Yeah, I can see how this can be useful to debug some hard-to-track
problems.  The patch looks sensible to me.

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



pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: \if, \elseif, \else, \endif (was Re: [HACKERS] PSQL commands:\quit_if, \quit_unless)
Next
From: Craig Ringer
Date:
Subject: Re: [HACKERS] WIP: About CMake v2