Re: decoding pg_log - Mailing list pgsql-general

From Tom Lane
Subject Re: decoding pg_log
Date
Msg-id 23086.971280315@sss.pgh.pa.us
Whole thread Raw
In response to decoding pg_log  ("Ingram, Bryan" <BIngram@sixtyfootspider.com>)
List pgsql-general
"Ingram, Bryan" <BIngram@sixtyfootspider.com> writes:
> Are there any existant utilities to decode pg_log?

No, but the format is brain-dead simple: two bits per transaction ID,
indexed from ID 0 if I recall correctly.  See the access routines in
src/backend/access/transam/transsup.c for details of bit order etc.

            regards, tom lane

pgsql-general by date:

Previous
From: "Adam Lang"
Date:
Subject: Re: ACRONYM
Next
From: "Efrain Caro"
Date:
Subject: Re: PostgreSQL book