Comment 37 for bug 1225

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 1225] Re: Glom: missing dependency - PostgreSQL

Hi,

Murray Cumming [2007-04-18 13:10 -0000]:
> - Installing Glom on Ubuntu causes an unnecessary Postgres instance to be started.
> This is an actual bug (and should have a bug report)

I object. People who install postgresql on their own usually expect to
have it working (after all, that's what packages are for), and a
backend for a per-user desktop application is not the main application
of a database server.

Of course you have some options here:

1) do some glom preinst magic to prevent the default instance from
   being created:

  mkdir -p /etc/postgresql/7.4/main
  touch /etc/postgresql/7.4/main/postgresql.conf

and remove the fake directory in the postinst again. Really hackish,
of course.

2) Remove the cluster in glom's postinst. Dangerous, though, since you
   could kill a production instance.

3) Just use the default instance for glom.

4) Ignore the default instance (it does not take too much space, after
   all) and create your own.