pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Gémes Géza <geza@kzsdabas.sulinet.hu>
To: Lamar Owen <lamar.owen@wgcr.org>
Cc: Raymond Chan <cwraymond2000@yahoo.com.hk>
Cc: pgsql-admin@postgresql.org
Subject: Re: Upgrade to RH9.....Help....PostgreSQL newbie
Date: Thu, 08 May 2003 14:35:27 +0200
Message-ID: <3EBA4F0F.2010705@kzsdabas.sulinet.hu> (raw)
In-Reply-To: <200305072124.36772.lamar.owen@wgcr.org>
References: <20030508004125.59240.qmail@web41709.mail.yahoo.com>
<200305072124.36772.lamar.owen@wgcr.org>
Lamar Owen írta:
>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 directory
>/pub/binary/v7.2.4/RPMS/redhat-9
>2.) Downgrade your PostgreSQL by using 'rpm -Fvh --oldpackage
>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
view thread (7+ messages) latest in thread
Message-ID: <3EBA4F0F.2010705@kzsdabas.sulinet.hu> Permalink: ../3EBA4F0F.2010705@kzsdabas.sulinet.hu/ Also on: postgresql.org/message-id/3EBA4F0F.2010705@kzsdabas.sulinet.hu ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-admin@postgresql.org Cc: geza@kzsdabas.sulinet.hu, lamar.owen@wgcr.org, cwraymond2000@yahoo.com.hk Subject: Re: Upgrade to RH9.....Help....PostgreSQL newbie In-Reply-To: <3EBA4F0F.2010705@kzsdabas.sulinet.hu> References: <20030508004125.59240.qmail@web41709.mail.yahoo.com> <200305072124.36772.lamar.owen@wgcr.org> <3EBA4F0F.2010705@kzsdabas.sulinet.hu> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox