Re: xact_desc

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: xact_desc
Дата
Msg-id 5820.1223953547@sss.pgh.pa.us
обсуждение исходный текст
Ответ на xact_desc  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: xact_desc  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> ISTM that xact_desc routines do not work properly when called with
> WAL_DEBUG enabled from XLogInsert().

Well, now that you mention it, that code is utterly, completely broken,
and always has been.  It's passing only the first rdata-chunk of the WAL
record to the print routine :-(

AFAICS the only way to fix it would be to allocate some workspace and
assemble the chunks of the record into that.  Doubtful that it's worth
it --- I'd be inclined to just remove the code instead.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: xact_desc
Следующее
От: KaiGai Kohei
Дата:
Сообщение: Re: Updates of SE-PostgreSQL 8.4devel patches