X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 8AF239DD625 for ; Mon, 12 Dec 2005 06:04:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 47619-07 for ; Mon, 12 Dec 2005 06:04:00 -0400 (AST) X-Greylist: delayed 03:13:58.779719 by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by postgresql.org (Postfix) with ESMTP id 2FAFE9DD590 for ; Mon, 12 Dec 2005 06:03:56 -0400 (AST) Received: from front-mail.cpln.ch (mail.cpln.ch [157.26.190.4]) by svr2.postgresql.org (Postfix) with ESMTP id AFC2DF0B18 for ; Mon, 12 Dec 2005 06:49:56 +0000 (GMT) Received: from back-mail.cpln.ch ([157.26.160.7]) by front-mail.cpln.ch with Microsoft SMTPSVC(6.0.3790.211); Mon, 12 Dec 2005 07:49:52 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5FEE8.40C103F8" Subject: Migration from 8.0.2 to 8.1.0 Date: Mon, 12 Dec 2005 07:49:52 +0100 Message-ID: <3E2CA694B71ECB45B3486CE93F8B956E8C9048@back-mail.cpln.ch> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Migration from 8.0.2 to 8.1.0 Thread-Index: AcX+6EC3xS4Gu/UNTNCQEUcBRmadSw== From: "Helbling Julien" To: X-OriginalArrivalTime: 12 Dec 2005 06:49:52.0452 (UTC) FILETIME=[40E4A040:01C5FEE8] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[HTML_MESSAGE=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200512/91 X-Sequence-Number: 19811 This is a multi-part message in MIME format. ------_=_NextPart_001_01C5FEE8.40C103F8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Postgres 8.0.2 for Windows is install on a Microsoft Windows Server 2003 system. The installation was made with all the default values. =20 We made a backup of one of our database with the following instruction : pg_dump -i -h serverName -p 5432 -U userName -W password -F c backupFileName databaseName =20 What we want to do is to migrate this database on a 8.1.0 version. For that we did install postgres 8.1.0 on the same computer but on the port 5433 and then we tried to make a restore with te following command : pg_restore -i -h serverName -p 5433 -U userName -d databaseName backupFileName=20 =20 Because a couple of functions couldn't be created during the restore we got many problems. All those functions are in the public scheme of the version 8.0.2. =20 We've seen some options did change during the installation of the version 8.1.0. For exemple : =20 - We can not chose any more to install the modul "DBsize" which was install with the version 8.0.2. - The modul "support of pgAdmin" is now called pgAdmin81 (the library's name is admin81.dll). =20 Because of those two things the two library dbsize.dll and admin.dll are not install in the lib directory ant certain function needs those two library. =20 Of course we could copy all the missing library in the right directory but that looks to not be really "professionnal". =20 Here is the main question : =20 - Is is possible during the installation of the version 8.1.0 for Windows to install some options which will "help" the compatibility between the version 8.1.0 and 8.0.2 ? =20 Julien ------_=_NextPart_001_01C5FEE8.40C103F8 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Postgres 8.0.2 for=20 Windows is install on a Microsoft Windows Server 2003 system. The = installation=20 was made with all the default values.
 
We = made a backup of=20 one of our database with the following instruction :
 pg_dump –i = –h serverName –p=20 5432 –U userName –W password –F = c backupFileName=20 databaseName
 
What = we want to do=20 is to migrate this database on a 8.1.0 version. For that we did install = postgres=20 8.1.0 on the same computer but on the port 5433 and then we tried to = make a=20 restore with te following command :
 pg_restore -i -h = serverName -p=20 5433 -U userName -d databaseName backupFileName
 
Because a couple of=20 functions couldn't be created during the restore we got many problems. = All those=20 functions are in the public scheme of the version = 8.0.2.
 
We've = seen some=20 options did change during the installation of the version 8.1.0. For = exemple=20 :
 
- We = can not chose=20 any more to install the modul "DBsize" which was install with the = version=20 8.0.2.
- The = modul "support=20 of pgAdmin" is now called pgAdmin81 (the library's name is=20 admin81.dll).
 
Because of those two=20 things the two library dbsize.dll and admin.dll are not install in the = lib=20 directory ant certain function needs those two = library.
 
Of = course we could=20 copy all the missing library in the right directory but that looks to = not be=20 really "professionnal".
 
Here is the=20 main question :
 
- Is = is possible=20 during the installation of the version 8.1.0 for Windows to install some = options=20 which will "help" the compatibility between the version 8.1.0 and 8.0.2=20 ?
 
Julien
------_=_NextPart_001_01C5FEE8.40C103F8--