Re: Why we don't panic in PageGetExactFreeSpace

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Why we don't panic in PageGetExactFreeSpace
Date: 2008-08-05 18:20:40
Message-ID: 11326.1217960440@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2008-08-05 18:29:59 Re: Why we don't panic in PageGetExactFreeSpace
Previous Message Robert Haas 2008-08-05 18:17:57 Re: DROP DATABASE always seeing database in use