Re: 7.4 -> 7.4.1 upgrade with customization on freebsd

From: Fernando Schapachnik <fernando(at)mecon(dot)gov(dot)ar>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: bill(at)mcmilleon(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: 7.4 -> 7.4.1 upgrade with customization on freebsd
Date: 2004-01-19 17:54:42
Message-ID: 20040119175442.GQ308@bal740r0.mecon.gov.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

En un mensaje anterior, scott.marlowe escribió:
> > 2) I would like to upgrade to 7.4.1 without having to re-edit any config
> > files or change any paths.
>
> Just backup the config files in $PGDATA to another directory, and toss
> them back into $PGDATA after the initdb
>
> > 3) I would like to prevent the database shown by "pkg_version -v" from
> > having one entry for 7.4 and another for 7.4.1

As Scott said, backup /usr/local/pgsql/data, pkg_delete the old version, make &&
make install the new one and the restore your old data directory. For package
upgrades, take a look at sysutil/portupgrade (you still need to backup the data
dir).

Good luck.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Fernando Schapachnik 2004-01-19 17:57:01 Re: 7.4 -> 7.4.1 upgrade with customization on freebsd
Previous Message scott.marlowe 2004-01-19 17:43:47 Re: 7.4 -> 7.4.1 upgrade with customization on freebsd