Re: Add pg_freespacemap extension sql test - Mailing list pgsql-hackers

From Fabrízio de Royes Mello
Subject Re: Add pg_freespacemap extension sql test
Date
Msg-id CAFcNs+r-jBAE8RQqNqC+W5Li+N6xACVnAGvAFNwoWuAVEqZrDg@mail.gmail.com
Whole thread Raw
In response to Re: Add pg_freespacemap extension sql test  (Dong Wook Lee <sh95119@gmail.com>)
Responses Re: Add pg_freespacemap extension sql test
List pgsql-hackers


On Sat, Mar 19, 2022 at 1:18 PM Dong Wook Lee <sh95119@gmail.com> wrote:
>
> > Well, my guess is that you basically just care about being able to
> > detect if there is free space in the map or not, which goes down to
> > detecting if pg_freespace() returns 0 or a number strictly higher than
> > 0, so wouldn't it be enough to stick some > 0 in your test queries?
>
> I edited the previous patch file.
> Am I correct in understanding that?
>

I think what Michael meant is something like attached.

Regards,

--
Fabrízio de Royes Mello
Attachment

pgsql-hackers by date:

Previous
From: Pavel Borisov
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Next
From: Andres Freund
Date:
Subject: Re: Regression tests failures on Windows Server 2019 - on master at commit # d816f366b