Re: Read data from WAL

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Read data from WAL
Дата
Msg-id 20130808232756.GD6883@momjian.us
обсуждение исходный текст
Ответ на Re: Read data from WAL  (Baldur Þór Emilsson <baldur@baldur.biz>)
Список pgsql-general
On Mon, Jul 15, 2013 at 01:34:01PM +0000, Baldur Þór Emilsson wrote:
> Thank you all for your responses. I'm aware of xlogdump but I'm afraid it does
> not help me with readign the data in the WAL. It is mainly "for debugging or
> educational purposes" (citing the docs) and it outputs a lot of information
> about the WAL records but not the contents of them (e.g. it says where an
> INSERT wrote the data, but not what the data is). Please correct me if I'm
> mistaken.
>
> What I'm looking for is a way to read the data that is inserted into the
> database. I was hoping there was some known way of doing that to save me the
> time it takes to patch Postgres to do that.

There is no way to decode the WAL data as the decoding information is in
the database and not easily available to an external tool.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Postgres won't start
Следующее
От: Sergey Konoplev
Дата:
Сообщение: Re: How to avoid Force Autovacuum