Re: Add pg_freespacemap extension sql test

From: Dong Wook Lee <sh95119(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: 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 16:18:26
Message-ID: CAAcByaJbRkkRkxaGKbvZS-K_Qz3A2TA7TjVVnNQgp74u8zUS=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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?

Attachment Content-Type Size
0002_add_test_pg_fsm.patch application/octet-stream 1.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2022-03-19 16:43:52 Re: [PATCH] pgbench: add multiconnect option
Previous Message Michael Paquier 2022-03-19 12:44:18 Re: Which hook to use when overriding utility commands (COPY ...)