X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 87CDE4765EA for ; Thu, 8 May 2003 08:37:17 -0400 (EDT) Received: from mail.kzsdabas.sulinet.hu (linux.kzsdabas.sulinet.hu [195.199.4.1]) by postgresql.org (Postfix) with ESMTP id 397B74765E8 for ; Thu, 8 May 2003 08:37:07 -0400 (EDT) Received: from kzsdabas.sulinet.hu (unknown [192.168.0.254]) by mail.kzsdabas.sulinet.hu (Postfix) with ESMTP id 648D61FD4; Thu, 8 May 2003 08:26:59 -0400 (EDT) Message-ID: <3EBA4F0F.2010705@kzsdabas.sulinet.hu> Date: Thu, 08 May 2003 14:35:27 +0200 From: =?ISO-8859-2?Q?G=E9mes_G=E9za?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.3) Gecko/20030313 X-Accept-Language: hu, en-us, en MIME-Version: 1.0 To: Lamar Owen Cc: Raymond Chan , pgsql-admin@postgresql.org Subject: Re: Upgrade to RH9.....Help....PostgreSQL newbie References: <20030508004125.59240.qmail@web41709.mail.yahoo.com> <200305072124.36772.lamar.owen@wgcr.org> In-Reply-To: <200305072124.36772.lamar.owen@wgcr.org> Content-Type: multipart/alternative; boundary="------------030308090405060006050104" X-Spam-Status: No, hits=-20.2 required=5.0 tests=BAYES_10,HTML_20_30,IN_REP_TO,REFERENCES, USER_AGENT_MOZILLA_UA 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/91 X-Sequence-Number: 8653 This is a multi-part message in MIME format. --------------030308090405060006050104 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: quoted-printable Lamar Owen =EDrta: >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 direc= tory=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: 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 Best Regards Geza Gemes --------------030308090405060006050104 Content-Type: text/html; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Lamar Owen =EDrta:
On Wednesday 07 May 2003 20:41, Raymond Chan wrote:
  
How can I update the dtatbase??
    

  
I am a new user to use the postgreSQL.Please help me
and state the instruction step by step
    

1.) Download the 7.2.4 redhat 9 RPMs from ftp.postgresql.org, in the direc=
tory=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.
  
Then as root:

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 /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

Best Regards

Geza Gemes
--------------030308090405060006050104--