[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
[PATCH 1/5] Centralize Assert* macros into c.h so its common between backend/frontend [PATCH 4/5] Add pg_xlogdump contrib module [PATCH 3/5] Split out xlog reading into its own module called xlogreader [PATCH 5/5] remove spurious space in running_xact's _desc function Re: [PATCH] xlogreader-v4 Re: [PATCH] xlogreader-v4 |
| Список | 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 по дате отправления: