"Dominic J. Eidson" <sauron@the-infinite.org> writes:
> Any suggestion why postmaster/postgres would think it had been compiled
> with BLCKSZ 0? :
> root@blue:/usr/local/pgsql# su postgres -c "bin/postmaster -D
> /usr/local/pgsql/data "
> DEBUG: Data Base System is starting up at Tue Feb 27 22:31:51 2001
> FATAL 2: database was initialized with BLCKSZ 0,
> but the backend was compiled with BLCKSZ 8192.
> looks like you need to initdb.
Read that again --- it did *not* say it was compiled with BLCKSZ 0.
It said (or meant, anyway) it found zero in the pg_control field that
indicates the BLCKSZ in use in the database. Something's broken with
your pg_control file ... care to give more details?
regards, tom lane