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: 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-09 19:44:42
Message-ID: 25143.1668023082@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:
> A second question: Both autoconf and meson print the segment size as GB right
> now. Obviously that'll print out a size of 0 for a segsize < 1GB.

> The easiest way to would be to just display the number of blocks, but that's
> not particularly nice.

Well, it would be fine if you'd written --with-segsize-blocks, wouldn't
it? Can we make the printout format depend on which switch was used?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Christensen 2022-11-09 20:01:14 Re: [PATCH] Teach pg_waldump to extract FPIs from the WAL
Previous Message Andres Freund 2022-11-09 19:42:17 Re: allow segment size to be set to < 1GiB