Re: [HACKERS] Different BLKSZ - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Different BLKSZ
Date
Msg-id 3802F89B.6EDADD90@krs.ru
Whole thread Raw
In response to Different BLKSZ  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: [HACKERS] Different BLKSZ
List pgsql-hackers
Tatsuo Ishii wrote:
> 
> While doing some tests, I have encountered too many problems with
> incompatible BLKSZ (the backend comipled in different BLKSZ with the
> one in database). I know this is my fault, but it would be nice if
> there is better way to avoid this kind of disaster. For example:
> 
> (1) there is a file called PG_BLKSZ under $PGDATA.
> 
> (2) postmaster checks the contents of the file to see if it was
>     compiled in the same BLKSZ.
> 
> (3) If not, give some error messages and exit.

There is special file pg_control for the WAL purposes - good
place for the BLCKSZ...

Vadim


pgsql-hackers by date:

Previous
From: Grzegorz Przeździecki
Date:
Subject: Backend proceses
Next
From: Tatsuo Ishii
Date:
Subject: Re: [HACKERS] Different BLKSZ