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

From Jeff Davis
Subject Re: Inconsistent use of relpages = -1
Date
Msg-id 69216ef7912668c86d36f0e1db31500c48a84183.camel@j-davis.com
Whole thread Raw
In response to Re: Inconsistent use of relpages = -1  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Inconsistent use of relpages = -1
List pgsql-hackers
On Thu, 2024-10-24 at 05:01 +0300, Laurenz Albe wrote:
> What you write above indicates that "relpages" = 0 and "reltuples" >
> 0
> would also be acceptable.

As Tom pointed out, that creates a risk that it's interpreted as
infinite tuple denisity.

The only functional change in my patch is to create the partitioned
table with relpages=-1 to be more consistent with the value after it's
analyzed.

Regards,
    Jeff Davis



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: general purpose array_sort
Next
From: "David G. Johnston"
Date:
Subject: Re: general purpose array_sort