Search Postgresql Archives

Re: PostGreSQL (7.3?) recovery, Mac OS X (10.3.8)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alvaro Herrera <alvherre@xxxxxxxxxxxxx> writes:
> What version is this exactly?  IIRC there was a version of 7.3 that
> would refuse to start if the last XLog record fell at the edge of a
> segment.  I may be misremembering though (i.e. maybe it was one of the
> 7.4 series), plus I can't find the relevant entry in the release notes.

If I'm reading the CVS history correctly, the bug existed only in the
7.3.3 release; here's the CVS log entry for the fix:

2003-07-17 12:45  tgl

	* src/backend/access/transam/xlog.c (REL7_3_STABLE): 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.

and this seems to be what Bruce boiled it down to in the 7.3.4 release
notes:

* Prevent rare possibility of server startup failure (Tom)

Personally I always look at the CVS history when searching for bug
histories.  cvs2cl.pl is a wonderful tool ...

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux