After emerging PostgreSQL, no initial database gets created by the installation process. I have to create one manually (refer http://forums.gentoo.org/viewtopic.php?t=1007&highlight=postgresql) Also, the init.d mechanism doesn't work - postmaster starts fine on startup, but '/etc/init.d/postgresql restart' fails to restart postgres. BTW - I've got postgresql in the default startup section. I strongly suggest that the initial data files creation be done as part of the install, so that a user can just do '/etc/init.d/postgresql start', and get on with the job of working with postgres, instead of having to mess around.
This isn't a good idea... What if someone already has a database installed? Do they want to create a new one, override it, or upgrade an existing one... A simple configure is all that needs to be done.