From: | Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> |
---|---|
To: | Vadim Mikheev <vadim(at)krs(dot)ru> |
Cc: | pgsql-hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] Different BLKSZ |
Date: | 1999-10-12 10:29:21 |
Message-ID: | 199910121029.TAA03928@srapc451.sra.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 1999-10-12 10:38:41 | It's PR time! |
Previous Message | Horak Daniel | 1999-10-12 10:08:48 | win32 port on newer Cygwin snapshots (990115) |