Comment 12 for bug 1225

Revision history for this message
Martin Pitt (pitti) wrote :

> One problem you probably do have is that the regular debian/Ubuntu
> postgres installation causes a postgres instance to be run at start up
> (though the user can stop it in the Services control panel). That makes
> sense if you install postgres directly, but it's not needed or used by
> Glom.

I am not going to change this -- people installing PostgreSQL usually do so because they want to use it, and Debian's/Ubuntu's philosophy is that things should 'just work' without fiddling with unnecessary configuration.

As a compromise, I propose this: glom Recommends: postgresql-8.2, so that it is handled as a dependency by all the standard packaging frontends, but if people know what they are doing, they can avoid installing it.

Glom should then check for the availability of pg_createcluster and use it to create a cluster that belongs to the user invoking glom. If pg_createcluster is not available, glom should ask the user to install a postgresql server.