Re: Inconsistent use of relpages = -1 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Inconsistent use of relpages = -1
Date
Msg-id 2273935.1729704027@sss.pgh.pa.us
Whole thread Raw
In response to Re: Inconsistent use of relpages = -1  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> It bothers me somewhat that views still have relpages=0, because they
> also don't have storage. Thoughts?

I think it's fine, because they also have reltuples=0.  The
combination of those two zeroes indicates ignorance as to
the rel's contents.  If either field is not zero, though, then
the combination ought to be sensible.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Inconsistent use of relpages = -1
Next
From: Pavel Borisov
Date:
Subject: Re: Refine comments on usage WL_POSTMASTER_DEATH vs WL_EXIT_ON_PM_DEATH