[Pgsql-ayuda] Postmaster no levanta

Alvaro Herrera alvherre@dcc.uchile.cl
Mon, 20 Oct 2003 15:57:04 -0300


On Mon, Oct 20, 2003 at 03:19:02PM -0300, Carmen Gloria Sepulveda Dedes wrote:
> Efectivamente tengo 7.3.3.  Ahora me dispongo a hacer el upgrade.
> 
> En todo caso, me gustaria saber de que trata este error, ya que en una bd en
> produccion una caida de este tipo seria bastante grave.
> 
> Se trata de algun bug de la version?, o esta relacionado a lo que hice mal?

Hay un bug en 7.3.3 (se introdujo durante la corrección de otro bug
mucho más serio en 7.3.2).

Las versiones menores (7.3.3 -> 7.3.4 etc) no se sacan por pura
diversión.  Se corrigen bugs, a veces críticos.  Dado que la
actualización no cuesta nada (no hay que hacer dump/restore), se
recomienda instalar la versión más reciente en cuanto sale.

En src/backend/access/transam/xlog.c,

revision 1.118
date: 2003/07/17 16:45:04;  author: tgl;  state: Exp;  lines: +23 -3
Repair boundary-case bug introduced by patch of two months ago that
fixed incorrect initial setting of StartUpID.  The logic in XLogWrite()
expects that Write->curridx is advanced to the next page as soon as
LogwrtResult points to the end of the current page, but StartupXLOG()
failed to make that happen when the old WAL ended exactly on a page
boundary.  Per trouble report from Hannu Krosing.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"When the proper man does nothing (wu-wei),
his thought is felt ten thousand miles." (Lao Tse)