Re: [HACKERS] Different BLKSZ

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [HACKERS] Different BLKSZ
Дата
Msg-id 3802FD18.4D6321F8@krs.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] Different BLKSZ  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: [HACKERS] Different BLKSZ
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: Scripts (was Re: [HACKERS] Re: [INTERFACES] Next release is
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [HACKERS] Different BLKSZ