Re: Inconsistent use of relpages = -1

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: Inconsistent use of relpages = -1
Дата
Msg-id d429fdf5641e3bad71c0e9bcd93c814463448db0.camel@cybertec.at
обсуждение исходный текст
Ответ на Re: Inconsistent use of relpages = -1  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Thu, 2024-10-24 at 08:03 -0700, Jeff Davis wrote:
> 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.

Great, then it cannot be wrong.  Sorry for the noise!

Yours,
Laurenz Albe



В списке pgsql-hackers по дате отправления: