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

From Zdenek Kotala
Subject Re: Why we don't panic in PageGetExactFreeSpace
Date
Msg-id 48989C27.6060100@sun.com
Whole thread Raw
In response to Re: Why we don't panic in PageGetExactFreeSpace  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane napsal(a):
> 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.

Ok PANIC is too strong, but I guess FATAL should be relevant or is there any 
situation when lower > upper? The same situation is in PageGetFreeSpace.
    Zdenek


-- 
Zdenek Kotala              Sun Microsystems
Prague, Czech Republic     http://sun.com/postgresql



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why we don't panic in PageGetExactFreeSpace
Next
From: Gregory Stark
Date:
Subject: Re: DROP DATABASE always seeing database in use