Re: [HACKERS] Different BLKSZ

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: t-ishii(at)sra(dot)co(dot)jp
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Different BLKSZ
Date: 1999-10-12 09:19:20
Message-ID: 3802FD18.4D6321F8@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 1999-10-12 09:32:15 Re: [HACKERS] Different BLKSZ
Previous Message Jan Wieck 1999-10-12 09:12:11 Re: Scripts (was Re: [HACKERS] Re: [INTERFACES] Next release is