Re: [HACKERS] Different BLKSZ
Vadim Mikheev <vadim@krs.ru>
From: Vadim Mikheev <vadim@krs.ru>
To: t-ishii@sra.co.jp
Cc: pgsql-hackers@postgreSQL.org
Date: 1999-10-12T09:19:20Z
Lists: pgsql-hackers
Tatsuo Ishii wrote: > > > > >There is special file pg_control for the WAL purposes - good > >place for the BLCKSZ... > > Nice. Do you have some functions to access the file? Seems it is a > binary file. access/transam/xlog.c:StartupXLOG() is called on every database startup and read control file - just add BLCKSZ to struct ControlFileData and check it on startup. Don't forget to initialize this value in BootStrapXLOG() (while creating control file). Vadim