Re: Add pg_freespacemap extension sql test

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Dong Wook Lee <sh95119(at)gmail(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>, Michael Paquier <michael(at)paquier(dot)xyz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Add pg_freespacemap extension sql test
Date: 2022-03-19 18:13:38
Message-ID: CAFcNs+r-jBAE8RQqNqC+W5Li+N6xACVnAGvAFNwoWuAVEqZrDg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 19, 2022 at 1:18 PM Dong Wook Lee <sh95119(at)gmail(dot)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 Content-Type Size
0003_add_test_pg_fsm.patch text/x-patch 2.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-03-19 18:16:48 Re: Regression tests failures on Windows Server 2019 - on master at commit # d816f366b
Previous Message Pavel Borisov 2022-03-19 18:08:56 Re: Add 64-bit XIDs into PostgreSQL 15