X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 58F9F475AE5 for ; Fri, 9 May 2003 10:40:04 -0400 (EDT) Received: from web41703.mail.yahoo.com (web41703.mail.yahoo.com [66.218.93.120]) by postgresql.org (Postfix) with SMTP id 3CA15475A80 for ; Fri, 9 May 2003 10:40:03 -0400 (EDT) Message-ID: <20030509144007.75881.qmail@web41703.mail.yahoo.com> Received: from [210.3.180.5] by web41703.mail.yahoo.com via HTTP; Fri, 09 May 2003 22:40:07 CST Date: Fri, 9 May 2003 22:40:07 +0800 (CST) From: =?big5?q?Raymond=20Chan?= Subject: Re: Upgrade to RH9.....Help....PostgreSQL newbie To: pgsql-admin@postgresql.org In-Reply-To: <3EBA4F0F.2010705@kzsdabas.sulinet.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-9.1 required=5.0 tests=BAYES_01,FROM_ENDS_IN_NUMS,IN_REP_TO autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/122 X-Sequence-Number: 8684 Thx for your instructions I have type this rpm -Fvh --oldpackage postgresql*7.2.4.i386.rpm and the command line doesn't display any comment.The version is still in 7.3.2 How can I downgrade the postgresql?? THX Raymond --- G=E9mes_G=E9za =AA=BA=B6l=A5=F3=A4=BA=AEe=A1G> Lamar Owen =EDrta: >=20 > >On Wednesday 07 May 2003 20:41, Raymond Chan wrote: > >=20=20 > > > >>How can I update the dtatbase?? > >>=20=20=20=20 > >> > > > >=20=20 > > > >>I am a new user to use the postgreSQL.Please help > me > >>and state the instruction step by step > >>=20=20=20=20 > >> > > > >1.) Download the 7.2.4 redhat 9 RPMs from > ftp.postgresql.org, in the directory=20 > >/pub/binary/v7.2.4/RPMS/redhat-9 > >2.) Downgrade your PostgreSQL by using 'rpm -Fvh > --oldpackage=20 > >postgresql*7.2.4.i386.rpm' > >3.) Restart postmaster. > >=20=20 > > > Then as root: >=20 > su -c 'pg_dumpall > /path/to/an_sql/dump/file ' > postgres > Stop the postmaster: service postgresql stop > Move away your directories holding the databases > Usualy=20 > /var/lib/pgsql/data, *don't delete them! It's a > backup copy* > Upgrade back to postgresql 7.3.2 from the RedHat > CDs, DVD, or whatsover > Start the postmaster: service postgresql start > su -c 'psql template1' postgres > at the template1# prompt type \i > /path_to_the_previously_saved_sql_file > Thats all hopefully >=20 > Best Regards >=20 > Geza Gemes >=20=20 _________________________________________________________ =B2=C4=A4G=A5@(=C1=C2=BE^=BEW)=A1A=B2=DF=BAD=A5=A2=C5=CA(=AEe=AF=AA=A8=E0)= =A1A=A5S=A9f(=B3=AF=AB=B3=A8=B3)... Yahoo! =B9a=C1n=A4U=B8=FC http://ringtone.yahoo.com.hk