Re: [GENERAL] Upgrading PG

2007-10-01 Thread Alan Hodgson
On Monday 01 October 2007, Gauthier, Dave [EMAIL PROTECTED] 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


---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org/


Re: [GENERAL] Upgrading PG

2007-10-01 Thread Joshua D. Drake
-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-

---(end of broadcast)---
TIP 4: Have you searched our list archives?

   http://archives.postgresql.org/


Re: [GENERAL] Upgrading PG

2007-10-01 Thread Erik Jones

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®
[EMAIL PROTECTED]
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



---(end of broadcast)---
TIP 9: In versions below 8.0, the planner will ignore your desire to
  choose an index scan if your joining column's datatypes do not
  match