Re: 7.4 -> 7.4.1 upgrade with customization on freebsd - Mailing list pgsql-general

From Fernando Schapachnik
Subject Re: 7.4 -> 7.4.1 upgrade with customization on freebsd
Date
Msg-id 20040119175442.GQ308@bal740r0.mecon.gov.ar
Whole thread Raw
In response to Re: 7.4 -> 7.4.1 upgrade with customization on freebsd  ("scott.marlowe" <scott.marlowe@ihs.com>)
List 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.

pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: 7.4 -> 7.4.1 upgrade with customization on freebsd
Next
From: Fernando Schapachnik
Date:
Subject: Re: 7.4 -> 7.4.1 upgrade with customization on freebsd