show xl_prev in xlog.c errcontext

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема show xl_prev in xlog.c errcontext
Дата
Msg-id 20150415203536.GH4369@alvh.no-ip.org
обсуждение исходный текст
Ответы Re: show xl_prev in xlog.c errcontext  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
I found this patch in my local repo that I wrote some weeks or months
ago while debugging some XLog corruption problem: it was difficult to
pinpoint what XLog record in a long sequence of WAL files was causing a
problem, and the displaying the prev pointer in errcontext made finding
it much easier -- I could correlate it with pg_xlogdump output, I think.

Anyone sees a reason not to apply this or something like it?

(As I recall, we eventually found out that the underlying issue was that
two postmasters shared one data area over NFS and were overwriting one
another's WAL files, or something like that.  But this was some time ago
so I could be mistaken that it's the same case.)

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

Вложения

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: raw output from copy
Следующее
От: Andrzej Barszcz
Дата:
Сообщение: reparsing query