Remi Colinet wrote: > Hello, > > This is version 2 of the patch to make the file and block sizes for WAL and > relations, run-time configurable at initdb.
I don't think this works, since we have a rule that pallocs are prohibited within critical section and I see that your patch changes some stack-allocated variables to palloc'ed. For example I think the heap_page_prune changes should break some test or other. This patch is too massive to review. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services