Re: allow segment size to be set to < 1GiB - Mailing list pgsql-hackers

From Tom Lane
Subject Re: allow segment size to be set to < 1GiB
Date
Msg-id 1832661.1668700132@sss.pgh.pa.us
Whole thread Raw
In response to Re: allow segment size to be set to < 1GiB  (Andres Freund <andres@anarazel.de>)
Responses Re: allow segment size to be set to < 1GiB
Re: allow segment size to be set to < 1GiB
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2022-11-17 09:58:48 -0500, Andrew Dunstan wrote:
>> Are we going to impose some sane minimum, or leave it up to developers
>> to discover that for themselves?

> I don't think we should. It's actually useful to e.g. use 1 page sized
> segments for testing, and with one exceptions the tests pass with it too. Do
> you see a reason to impose one?

Yeah, I think we should allow setting it to 1 block.  This switch is
only for testing purposes (I hope the docs make that clear).

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [PoC] configurable out of disk space elog level
Next
From: Tom Lane
Date:
Subject: Re: redundant check of msg in does_not_exist_skipping