Thread: Upgrading PG

Upgrading PG

From
"Gauthier, Dave"
Date:

I’m going to move from v7.4.13 to v8.2.0 (suse-64). I have 2 pre-existing DBs.  Do I need to “convert” or port them to v8 in any way after I start up with a v8 postmaster? 


Thanks

-dave

Re: Upgrading PG

From
Alan Hodgson
Date:
On Monday 01 October 2007, "Gauthier, Dave" <dave.gauthier@intel.com> wrote:
> I'm going to move from v7.4.13 to v8.2.0 (suse-64). I have 2
> pre-existing DBs.  Do I need to "convert" or port them to v8 in any way
> after I start up with a v8 postmaster?
>

All major version upgrades require a dump and reload. You should read all
the update notes for intermediate versions.

You may also run into some bad-unicode data issues moving from 7.4 to 8.x. I
would do a test run on a separate machine before committing to a conversion
date (always a good idea IMO).

--
Ghawar is dying


Re: Upgrading PG

From
"Joshua D. Drake"
Date:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gauthier, Dave wrote:
> I'm going to move from v7.4.13 to v8.2.0 (suse-64). I have 2
> pre-existing DBs.  Do I need to "convert" or port them to v8 in any way
> after I start up with a v8 postmaster?
>

1. v8.2.0 is a mistake, make sure you are running the latest stable
patch rev. v8.2.5.

2. You will need to dump and reload, use the v8.2.5 pg_dump to connect
to the v7.4.13 databases and restore.

3. There are specific behavior differences. The one that comes to mind
most prominently is that float/double can no longer be ''.

4. Read the release notes from the docs

5. 8.2 is a completely different beast in terms of performance and
configuration.

Sincerely,

Joshua D. Drake



>
> Thanks
>
> -dave
>
>


- --

      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997  http://www.commandprompt.com/
            UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHATIlATb/zqfZUUQRAh0AAJ9+m0Oq5/EmytFGe2A9QR+8UDlOfwCcCGQ6
VRxeRHkq6GlWfviZcdCPKJ0=
=SRz3
-----END PGP SIGNATURE-----

Re: Upgrading PG

From
Erik Jones
Date:
On Oct 1, 2007, at 12:26 PM, Gauthier, Dave wrote:

> I’m going to move from v7.4.13 to v8.2.0 (suse-64). I have 2 pre-
> existing DBs.  Do I need to “convert” or port them to v8 in any way
> after I start up with a v8 postmaster?
>
>
> Thanks

Moving between major release versions requires that you do a dump/
restore using the new version's pg_dump and pg_restore apps.

Erik Jones

Software Developer | Emma®
erik@myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com