Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6592 - PostgreSQL installation is incomplete
Summary: PostgreSQL installation is incomplete
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-16 09:41 UTC by David McNab
Modified: 2007-09-22 22:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David McNab 2002-08-16 09:41:09 UTC
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.
Comment 1 Ryan Phillips (RETIRED) gentoo-dev 2002-08-18 21:52:54 UTC
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.