Re: [PATCH 03/14] Add simple xlogdump tool - Mailing list pgsql-hackers

From Jeff Janes
Subject Re: [PATCH 03/14] Add simple xlogdump tool
Date
Msg-id CAMkU=1xLRCndT4vf58+mAec2W2KF3HRGmHpU4yVCcLnaCoALMw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH 03/14] Add simple xlogdump tool  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: [PATCH 03/14] Add simple xlogdump tool  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Thu, Nov 15, 2012 at 9:13 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> On 2012-11-15 09:06:23 -0800, Jeff Janes wrote:
>> On Wed, Nov 14, 2012 at 5:17 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>> > ---
>> >  src/bin/Makefile            |   2 +-
>> >  src/bin/xlogdump/Makefile   |  25 +++
>> >  src/bin/xlogdump/xlogdump.c | 468 ++++++++++++++++++++++++++++++++++++++++++++
>> >  3 files changed, 494 insertions(+), 1 deletion(-)
>> >  create mode 100644 src/bin/xlogdump/Makefile
>> >  create mode 100644 src/bin/xlogdump/xlogdump.c
>>
>> Is this intended to be the successor of
>> https://github.com/snaga/xlogdump which will then be deprecated?
>
> As-is this is just a development tool which was sorely needed for the
> development of this patchset. But yes I think that once ready
> (xlogreader infrastructure, *_desc routines splitted) it should
> definitely be able to do most of what the above xlogdump can do and it
> should live in bin/. I think mostly some filtering is missing.
>
> That doesn't really "deprecate" the above though.
>
> Does that answer your question?

Yes, I think so.  Thanks.

(I've just recently gotten the original xlogdump to work for me in
9.2, and I had been wonder if back-porting yours to 9.2 would have
been an easier way to go.)

Cheers,

Jeff



pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: tuplesort memory usage: grow_memtuples
Next
From: Andres Freund
Date:
Subject: Re: [PATCH 03/14] Add simple xlogdump tool