Re: [HACKERS] Different BLKSZ - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [HACKERS] Different BLKSZ
Date
Msg-id 199910120932.SAA03241@srapc451.sra.co.jp
Whole thread Raw
In response to Re: [HACKERS] Different BLKSZ  (Vadim Mikheev <vadim@krs.ru>)
Responses Re: [HACKERS] Different BLKSZ
List pgsql-hackers
>> >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).

Thanks. I will work on this issue.
--
Tatsuo Ishii


pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] Different BLKSZ
Next
From: "Allan Huffman"
Date:
Subject: HELP - Accessing SQL_ASCII from Java