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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org, Peter Geoghegan <pg@bowt.ie>
Date: 2022-11-09T19:44:42Z
Lists: pgsql-hackers
Andres Freund <andres@anarazel.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



Commits

  1. Add option to specify segment size in blocks