Building PostgreSQL non-default Block size

Started by Saleh, Amgad H (Amgad)over 22 years ago2 messagesgeneral
Jump to latest
#1Saleh, Amgad H (Amgad)
ahsaleh@lucent.com

The default block size which represents the page size is
8192 defined in pg_config.h.in.

I've been trying to increase that to 16384 and rebuild postgreSQL.
I was able to build it and it showed 16384 in the built pg_config.h.

After installation and use initdb, the pagesize is still the default 8192.
Any add'l config. procedure needed.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Saleh, Amgad H (Amgad) (#1)
Re: Building PostgreSQL non-default Block size

"Saleh, Amgad H (Amgad)" <ahsaleh@lucent.com> writes:

The default block size which represents the page size is
8192 defined in pg_config.h.in.
I've been trying to increase that to 16384 and rebuild postgreSQL.
I was able to build it and it showed 16384 in the built pg_config.h.
After installation and use initdb, the pagesize is still the default 8192.

I think you did not do a full rebuild ("make clean" etc).

regards, tom lane