Re: [HACKERS] Different BLKSZ

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

I have committed changes to xlog.c. If the blcksz of database does not
match the one of the backend, you will get following error message and
postmaster won't start.

DEBUG:  Data Base System is starting up at Tue Oct 12 19:11:03 1999
FATAL 2:  database was initialized in BLCKSZ(0), but the backend was
compiled in BLCKSZ(8192)

This change requires initdb.
--
Tatsuo Ishii


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

Предыдущее
От: Horak Daniel
Дата:
Сообщение: win32 port on newer Cygwin snapshots (990115)
Следующее
От: Peter Eisentraut
Дата:
Сообщение: It's PR time!