[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: inapropriated postgres package pre-install script?



On Tue, Jul 13, 1999 at 11:38:11AM +0200, Bruno Boettcher wrote:

> why does the pre install script hasn't  the simple line pg_dumpall >backup and
> the post install the line psql -e template1<backup????? 

The best person to ask is the maintainer, but one really obvious problem
is where to dump to.  Picking a random directory and dumping to it could
easily flood the partition with a large database and cause damage to the
system.  One would hope that the administrator of a server would be
taking adequate steps to protect themselves from failed upgrades anyway.

-- 
Mark Brown  mailto:broonie@tardis.ed.ac.uk   (Trying to avoid grumpiness)
            http://www.tardis.ed.ac.uk/~broonie/
EUFS        http://www.eusa.ed.ac.uk/societies/filmsoc/

Attachment: pgpOsc3LYv0rD.pgp
Description: PGP signature


Reply to: