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

From Dong Wook Lee
Subject Re: Add pg_freespacemap extension sql test
Date
Msg-id CAAcByaLk_Q0VHyBHuTGrV3AGT8z=qasD5pEK6CYJKMbL7iX+zw@mail.gmail.com
Whole thread Raw
In response to Re: Add pg_freespacemap extension sql test  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Responses Re: Add pg_freespacemap extension sql test  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers


2022년 3월 20일 (일) 03:13, Fabrízio de Royes Mello <fabriziomello@gmail.com>님이 작성:


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

I think you’re right, thank you for sending it instead of me.

pgsql-hackers by date:

Previous
From: Pavel Borisov
Date:
Subject: Re: Fix unsigned output for signed values in SLRU error reporting
Next
From: Alvaro Herrera
Date:
Subject: Re: Column Filtering in Logical Replication