8.1-compatible xlogdump

Started by Jonah H. Harrisabout 20 years ago4 messages
#1Jonah H. Harris
jonah.harris@gmail.com

Does anyone have a copy of xlogdump updated for 8.1? If so, please send me a
copy. Otherwise I'll update it and forward the diffs.
-Jonah

#2Alvaro Herrera
alvherre@alvh.no-ip.org
In reply to: Jonah H. Harris (#1)
Re: 8.1-compatible xlogdump

Jonah H. Harris wrote:

Does anyone have a copy of xlogdump updated for 8.1? If so, please send me a
copy. Otherwise I'll update it and forward the diffs.

We should definitely consider completing it and including it in contrib.

--
Alvaro Herrera Valdivia, Chile ICBM: S 39� 49' 17.7", W 73� 14' 26.8"
"El sentido de las cosas no viene de las cosas, sino de
las inteligencias que las aplican a sus problemas diarios
en busca del progreso." (Ernesto Hern�ndez-Novich)

#3Jonah H. Harris
jonah.harris@gmail.com
In reply to: Alvaro Herrera (#2)
Re: 8.1-compatible xlogdump

I agree.

Show quoted text

On 11/1/05, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:

Jonah H. Harris wrote:

Does anyone have a copy of xlogdump updated for 8.1? If so, please send

me a

copy. Otherwise I'll update it and forward the diffs.

We should definitely consider completing it and including it in contrib.

--
Alvaro Herrera Valdivia, Chile ICBM: S 39º 49' 17.7", W 73º 14' 26.8"
"El sentido de las cosas no viene de las cosas, sino de
las inteligencias que las aplican a sus problemas diarios
en busca del progreso." (Ernesto Hernández-Novich)

#4Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#2)
Re: 8.1-compatible xlogdump

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:

Jonah H. Harris wrote:

Does anyone have a copy of xlogdump updated for 8.1? If so, please send me a
copy. Otherwise I'll update it and forward the diffs.

We should definitely consider completing it and including it in contrib.

There is already code in the main backend to convert all the xlog record
types into text. We should think of some way to reuse that code, rather
than maintaining identical functionality elsewhere.

Mind you, the backend code pretty much sucks from a robustness point of
view (unchecked string buffer use) so rewriting it along the way isn't
a bad idea. I'm just saying let's think about how to have one copy not
two.

regards, tom lane