Thread

  1. Re: [HACKERS] Different BLKSZ

    Vadim Mikheev <vadim@krs.ru> — 1999-10-12T09:19:20Z

    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