pgsql-server/src/backend/access/transam xlog.c

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql-server/src/backend/access/transam xlog.c
Date: 2003-07-17 16:45:04
Message-ID: 20030717164504.669BCCCA5B@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 03/07/17 13:45:04

Modified files:
src/backend/access/transam: xlog.c

Log message:
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.

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-07-17 16:45:25 pgsql-server/src/backend/access/transam Tag: R ...
Previous Message Michael Meskes 2003-07-17 11:27:55 pgsql-server/src/interfaces/ecpg/ecpglib data.c