Recovery on incomplete write - Mailing list pgsql-hackers

From Hiroshi Inoue
Subject Recovery on incomplete write
Date
Msg-id 000d01bf096d$3a22aee0$2801007e@cadzone.tpf.co.jp
Whole thread Raw
Responses Re: [HACKERS] Recovery on incomplete write
List pgsql-hackers
Hi all,

I have wondered that md.c handles incomplete block(page)s
correctly.
Am I mistaken ?

1) _mdnblocks() takes the last incomplete block into account

2) mdextend() doesn't care about the existence of incomplete   block(page)s.

3) In spite of 1)2),mdextend() does nothing when incomplete   write occurs.

Comments ?

If I am right,I would provide a patch.

Regards.

Hiroshi Inoue
Inoue@tpf.co.jp


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Patch for user-defined C-language functions
Next
From: Oleg Broytmann
Date:
Subject: Re: [HACKERS] 6.5.2