X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id AAFA6475E9D for ; Fri, 9 May 2003 21:51:30 -0400 (EDT) Received: from web41701.mail.yahoo.com (web41701.mail.yahoo.com [66.218.93.118]) by postgresql.org (Postfix) with SMTP id DBC0D475E9D for ; Fri, 9 May 2003 21:50:44 -0400 (EDT) Message-ID: <20030510015049.39202.qmail@web41701.mail.yahoo.com> Received: from [210.3.180.5] by web41701.mail.yahoo.com via HTTP; Sat, 10 May 2003 09:50:49 CST Date: Sat, 10 May 2003 09:50:49 +0800 (CST) From: =?big5?q?Raymond=20Chan?= Subject: Re: Upgrade to RH9.....Help....PostgreSQL newbie To: Erick Dennis Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-7.6 required=5.0 tests=BAYES_00,FROM_ENDS_IN_NUMS,IN_REP_TO,NO_DNS_FOR_FROM version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/127 X-Sequence-Number: 8689 Hello, I am a new user to use the PostgreSQL,so there is no database.I moved all the /var/lib/pgsql/data to the other place.Then start the postgresql.It works!! BUt when i logged in as postgres and start the psql. It states this message:: psql: FATAL: Database "postgres" does not exist in the system catalog. Please help Raymond --- Erick Dennis =AA=BA=B6l=A5=F3=A4=BA=AEe=A1G> Hello, >=20 > If using --oldpackage doesn't work, soo try > uninstalling the package=20 > manually, and then install the 7.2 package. >=20 > Best Regards. >=20 >=20 > On Fri, 9 May 2003, [big5] Raymond Chan wrote: >=20 > > Thx for your instructions > >=20 > > 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 > >=20 > > How can I downgrade the postgresql?? > >=20 > > THX > > Raymond > >=20 > > --- 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 > >=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 > >=20 > >=20 > > ---------------------------(end of > broadcast)--------------------------- > > TIP 4: Don't 'kill -9' the postmaster > >=20 >=20 > --=20 > -----BEGIN PGP PUBLIC KEY BLOCK----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org >=20 > mQGiBD3AVWoRBACodcxl03gUoJOqgzRfAheGLKeri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UlaT6PLm7LMHq2Mauap > OfztGsOfayzARNwu0IhGBBgRAgAGBQI9wFVuAAoJEEBH/zCXHq9A9FkAnjVE9wCa > i1Gau6ypIxomane6UD3NAKDkl1ulR3iEsdy8fF99Oo95tSkawg=3D=3D > =3D86sd > -----END PGP PUBLIC KEY BLOCK----- >=20 >=20 > ---------------------------(end of > broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please > send an appropriate > subscribe-nomail command to majordomo@postgresql.org > so that your > message can get through to the mailing list cleanly=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