错误如下:
。。。
postgresql performing post-bootstrap initialization ... Segmentation fault
child process exited with exit code 139
initdb: removing contents of data directory 。。。
解决方法:
原因是postgresql源码有错误,编译的时候注意 warn/error,认真检查安装时(make && make install)的warn错误。
(ps 本人是因为修改完源码时,出现了一个语法错误导致的,编译时提示warn,没当回事,结果花了两天时间发现这个问题。。前车之鉴,希望大家别犯这种低级错误!!!)