Without the data rpm, postgresql won't run.
*** Bug 2775 has been marked as a duplicate of this bug. *** The postgresql-data rpm that I have always seen on previous releases of your software is not on the 6.0 CD. When postgresql is started it aborts with an error about no data directory, so I assume these two things are related. I downloaded an rpm for postgresql-data from rufus.w3.com and installed it. Now postgresql works as expected. Just thought you should know
(explanation courtesy Cristian Gafton) You have to become the postgres user and then run initdb: su - postgres PGDATA=/var/lib/pgsql PGLIB=/usr/lib/pgsql initdb The data files are no longer shipped because you donit want us replacing your databases with the empty, default ones on updates. Because of this we've made the postgres RPMs "no know anything" about the data files, thus avoiding touching those on upgrades. I know we used to ship those, but that proved to be a bad idea.
in case the formatting is confusing, the command is: su - postgres PGDATA=/var/lib/pgsql PGLIB=/usr/lib/pgsql initdb
*** Bug 3237 has been marked as a duplicate of this bug. *** Package previously shipped with a 4 rpm set. This RPM is necessary to set up the default database.
*** Bug 3601 has been marked as a duplicate of this bug. *** RedHat 6.0 contains postgresql-6.4.2-3.i386.rpm postgresql-clients-6.4.2-3.i386.rpm postgresql-devel-6.4.2-3.i386.rpm but not postgresql-data-6.4.2-4.i386.rpm which is necessary to get it up and running.