Re: [HACKERS] Disk block size issues.

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: scrappy@hub.org (The Hermit Hacker)
Cc: darrenk@insightdist.com, pgsql-hackers@postgreSQL.org
Date: 1998-01-09T18:36:15Z
Lists: pgsql-hackers
> 
> On Fri, 9 Jan 1998, Darren King wrote:
> 
> > How about PG_BLOCK_SIZE?  Or if it's made a variable, DiskBlockSize, keeping
> > it in the tradition of SortMem, ShowStats, etc.
> 
> 	I know of one site that builds their Virtual Websites into
> chroot()'d environments...something like this would be perfect for them,
> as it would prvent them having to recompile for each individual size...
> 
> 	But...initdb would have to have an appropriate option...and we'd
> have to have a mechanism in place that checks that -k parameter is
> actually appropriate.
> 
> 	Would it not make a little more sense to have a pg_block_size file
> created in the data directory that postmaster reads at startup?

I like that, but the postmaster and each backend would have to read that
file before starting, or the postmaster can pass it down into the
postgres backend via a command-line option.

-- 
Bruce Momjian
maillist@candle.pha.pa.us