I observed a significant change in /etc/init.d/postgresql is changed in new version (postgresql-8.4.7) I was using postgresql-8.1.23 and /etc/init.d/postgresql start would do initdb if cluster doesn't exits which is not the case now. I have to do initdb exclusively.
- Do you know why this is changed like this?
- Do you know from which version it is like this? (I checked in the release notes, but couldn't find it)
Probem I am facing is I have a kickstart install of CentOS which includes my packges depedning on postgres. So, I do /sbin/chkconfig postgresql on in the %post. Now, since initdb is not done by default, I am not able to start my service at startup.