On Sat, Dec 14, 2013 at 11:20:47AM +0100, LEVAI Daniel wrote:
> Hi!
> 
> I want to pick your brains about something, if I may.
> How do you handle a port update (like eg. postgresql) as a maintainer,
> if the new version is not compatible with the older versions' data
> files? I can see that with every major version postgresql update, there
> is a warning to dump/restore. But it always seemed futile to me to
> display a warning that a dump would have been necessary, after that fact
> that the package has been upgraded (and I don't the old binaries).

The way it's done for postgresql (ie @ask-update in PLIST), the question
is showed _before_ actually upgrading anything. So that when you see it,
you make a dump, answer 'y', and then restore the dump after the
upgrade.

Landry

Reply via email to