Re: [PATCH 03/14] Add simple xlogdump tool
От | Andres Freund |
---|---|
Тема | Re: [PATCH 03/14] Add simple xlogdump tool |
Дата | |
Msg-id | 20121121231031.GB6658@awork2.anarazel.de обсуждение исходный текст |
Ответ на | Re: [PATCH 03/14] Add simple xlogdump tool (Jeff Janes <jeff.janes@gmail.com>) |
Список | pgsql-hackers |
On 2012-11-21 14:57:14 -0800, Jeff Janes wrote: > 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.) I don't think you would have much fun doing so - the WAL format changes between 9.2 and 9.3 make this larger than one might think. I had a version that worked with the previous format but there have been some interface changes since then... Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: