Re: allow segment size to be set to < 1GiB

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org, Peter Geoghegan <pg(at)bowt(dot)ie>
Subject: Re: allow segment size to be set to < 1GiB
Date: 2022-11-17 15:48:52
Message-ID: 1832661.1668700132@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-11-17 15:55:47 Re: redundant check of msg in does_not_exist_skipping
Previous Message Andres Freund 2022-11-17 15:45:20 Re: [PoC] configurable out of disk space elog level