[PATCH] xlogreader-v4

Поиск
Список
Период
Сортировка
От Andres Freund
Тема [PATCH] xlogreader-v4
Дата
Msg-id 1357672187-7693-1-git-send-email-andres@2ndquadrant.com
обсуждение исходный текст
Ответы [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it  (Andres Freund <andres@2ndquadrant.com>)
[PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend  (Andres Freund <andres@2ndquadrant.com>)
[PATCH 4/5] Add pg_xlogdump contrib module  (Andres Freund <andres@2ndquadrant.com>)
[PATCH 3/5] Split out xlog reading into its own module called xlogreader  (Andres Freund <andres@2ndquadrant.com>)
[PATCH 5/5] remove spurious space in running_xact's _desc function  (Andres Freund <andres@2ndquadrant.com>)
Re: [PATCH] xlogreader-v4  (Thom Brown <thom@linux.com>)
Re: [PATCH] xlogreader-v4  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
From: Andres Freund <andres@2ndquadrant.com>
Subject: [PATCH] xlogreader-v4
In-Reply-To: 

Hi,

this is the latest and obviously best version of xlogreader & xlogdump with
changes both from Heikki and me.

Changes:
* windows build support for pg_xlogdump
* xlogdump moved to contrib
* xlogdump option parsing enhancements
* generic cleanups
* a few more comments
* removal of some ugliness in XLogFindNextRecord

I think its mostly ready, for xlogdump minimally these two issues remain:

const char *
timestamptz_to_str(TimestampTz dt)
{       return "unimplemented-timestamp";
}

const char *
relpathbackend(RelFileNode rnode, BackendId backend, ForkNumber forknum)
{       return "unimplemented-relpathbackend";
}

aren't exactly the nicest wrapper functions. I think its ok to simply copy
relpathbackend from the backend, but timestamptz_to_str? Thats a heck of a lot
of code.

Patches 1 and 2 and 5 are just preparatory and probably can be applied
beforehand.

3 and 4 are the real meat of this and especially 3 needs some careful review.

Input welcome!

Andres




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Cascading replication: should we detect/prevent cycles?
Следующее
От: Andres Freund
Дата:
Сообщение: [PATCH 2/5] Make relpathbackend return a statically result instead of palloc()'ing it