RE: strange behaviour (bug) - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: strange behaviour (bug)
Date
Msg-id 8F4C99C66D04D4118F580090272A7A23018CC6@SECTORBASE1
Whole thread Raw
In response to strange behaviour (bug)  (Kovacs Zoltan <kovacsz@pc10.radnoti-szeged.sulinet.hu>)
List pgsql-hackers
> I looked into your XLOG stuff a little.
> It seems that XLogFileOpen() isn't implemented yet.
> Would/should XLogFIleOpen() guarantee to open a Relation
> properly at any time ?

If each relation will have unique file name then there will be no
problem. If a relation was dropped then after crash redo will try
to open probably unexisted file. XLogFileOpen will return NULL in this case
(redo will do nothing) and remember this fact (ie - "file deletion is
expected").

Vadim




pgsql-hackers by date:

Previous
From: Philip Warner
Date:
Subject: Re: Dumping views as views?
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: Status of new relation file naming