Re: Why we don't panic in PageGetExactFreeSpace - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why we don't panic in PageGetExactFreeSpace
Date
Msg-id 11326.1217960440@sss.pgh.pa.us
Whole thread Raw
In response to Why we don't panic in PageGetExactFreeSpace  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Why we don't panic in PageGetExactFreeSpace  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> It seems to me that we should panic that data are overlaped instead of return 
> zero.

elog(PANIC) is almost never a good idea, and it certainly isn't a good
response here.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: DROP DATABASE always seeing database in use
Next
From: Zdenek Kotala
Date:
Subject: Re: Why we don't panic in PageGetExactFreeSpace