Subject: Re: PostgreSQL 7.4.1 anyone?
To: Gavan Fantom <firstname.lastname@example.org>
From: Greg A. Woods <email@example.com>
Date: 01/12/2004 17:19:18
[ On Monday, January 12, 2004 at 12:57:22 (+0000), Gavan Fantom wrote: ]
> Subject: Re: PostgreSQL 7.4.1 anyone?
> Could the deinstall script not dump the data into some "standard"
> location, to be used by a subsequent install script if necessary?
I wrote one of those scripts once upon a time for the pgsql package.
I may even have done a send-pr with it, but if not I might still be able
to find it somewhere.
IMNSHO the database should _always_ be dumped and reloaded when
upgrading the database software, regardless of what the database
software authors/maintainers might claim is needed for the new
version. Better safe than sorry.
... and the database should be dumped anyway, even if it's not
automatically reloaded -- and forcing this to happen in the deinstall
script would simply be a very smart thing to do.
> I know this doesn't really help existing users, but this scheme might help
> for future incompatible versions.
Why not? Add the deinstall script to the 7.3 package, bump PKGREVISION,
and then convince everyone to upgrade to that first before they take the
jump to 7.4.
Greg A. Woods
+1 416 218-0098 VE3TCP RoboHack <firstname.lastname@example.org>
Planix, Inc. <email@example.com> Secrets of the Weird <firstname.lastname@example.org>