> If I remove this patch and recompile again, then "initdb -D $PGDATA" works.
It appears you must "make clean; make install" to correctly compile afterapplying the patch.
Regards,
Sami ImseihAmazon Web Services (AWS)