Re: [HACKERS] Recovery on incomplete write

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Recovery on incomplete write
Date: 1999-09-28 14:39:22
Message-ID: 642.938529562@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> writes:
> I have wondered that md.c handles incomplete block(page)s
> correctly.
> Am I mistaken ?

I think you are right, and there may be some other trouble spots in that
file too. I remember thinking that the code depended heavily on never
having a partial block at the end of the file.

But is it worth fixing? The only way I can see for the file length
to become funny is if we run out of disk space part way through writing
a page, which seems unlikely...

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-09-28 14:54:26 Re: [HACKERS] Recovery on incomplete write
Previous Message Bruce Momjian 1999-09-28 14:31:03 Re: [HACKERS] Operator definitions