pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Upgrade to RH9.....Help....PostgreSQL newbie
7+ messages / 4 participants
[nested] [flat]

* Upgrade to RH9.....Help....PostgreSQL newbie
@ 2003-05-08 00:41 Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-08 01:24 ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Lamar Owen <lamar.owen@wgcr.org>
  0 siblings, 1 reply; 7+ messages in thread

From: Raymond Chan @ 2003-05-08 00:41 UTC (permalink / raw)
  To: pgsql-admin

I have a database called php in my old RH8.Recently,i
upgraded to RH9.when I started the postgreSQL,I got
this message::

The data directory was initialized by PostgreSQL
version 7.2 which is not compatible with this
version7.3.2

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

THX
Best regards
Raymond


_________________________________________________________
²Ä¤G¥@(Á¾^¾W)¡A²ßºD¥¢ÅÊ(®e¯ª¨à)¡A¥S©f(³¯«³¨³)...
Yahoo! ¹aÁn¤U¸ü
http://ringtone.yahoo.com.hk




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Upgrade to RH9.....Help....PostgreSQL newbie
  2003-05-08 00:41 Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
@ 2003-05-08 01:24 ` Lamar Owen <lamar.owen@wgcr.org>
  2003-05-08 12:35   ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Gémes Géza <geza@kzsdabas.sulinet.hu>
  0 siblings, 1 reply; 7+ messages in thread

From: Lamar Owen @ 2003-05-08 01:24 UTC (permalink / raw)
  To: Raymond Chan <cwraymond2000@yahoo.com.hk>; pgsql-admin

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.
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Upgrade to RH9.....Help....PostgreSQL newbie
  2003-05-08 00:41 Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-08 01:24 ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Lamar Owen <lamar.owen@wgcr.org>
@ 2003-05-08 12:35   ` Gémes Géza <geza@kzsdabas.sulinet.hu>
  2003-05-09 14:40     ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  0 siblings, 1 reply; 7+ messages in thread

From: Gémes Géza @ 2003-05-08 12:35 UTC (permalink / raw)
  To: Lamar Owen <lamar.owen@wgcr.org>; +Cc: Raymond Chan <cwraymond2000@yahoo.com.hk>; pgsql-admin

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

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Upgrade to RH9.....Help....PostgreSQL newbie
  2003-05-08 00:41 Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-08 01:24 ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Lamar Owen <lamar.owen@wgcr.org>
  2003-05-08 12:35   ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Gémes Géza <geza@kzsdabas.sulinet.hu>
@ 2003-05-09 14:40     ` Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-09 17:02       ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Erick Dennis <edennis@rootshell.be>
  0 siblings, 1 reply; 7+ messages in thread

From: Raymond Chan @ 2003-05-09 14:40 UTC (permalink / raw)
  To: pgsql-admin

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émes_Géza <geza@kzsdabas.sulinet.hu>
ªº¶l¥ó¤º®e¡G> 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
>  

_________________________________________________________
²Ä¤G¥@(Á¾^¾W)¡A²ßºD¥¢ÅÊ(®e¯ª¨à)¡A¥S©f(³¯«³¨³)...
Yahoo! ¹aÁn¤U¸ü
http://ringtone.yahoo.com.hk




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Upgrade to RH9.....Help....PostgreSQL newbie
  2003-05-08 00:41 Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-08 01:24 ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Lamar Owen <lamar.owen@wgcr.org>
  2003-05-08 12:35   ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Gémes Géza <geza@kzsdabas.sulinet.hu>
  2003-05-09 14:40     ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
@ 2003-05-09 17:02       ` Erick Dennis <edennis@rootshell.be>
  2003-05-10 01:50         ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  0 siblings, 1 reply; 7+ messages in thread

From: Erick Dennis @ 2003-05-09 17:02 UTC (permalink / raw)
  To: Raymond Chan <cwraymond2000@yahoo.com.hk>; +Cc: pgsql-admin

Hello,

If using --oldpackage doesn't work, soo try uninstalling the package 
manually, and then install the 7.2 package.

Best Regards.


On Fri, 9 May 2003, [big5] Raymond Chan wrote:

> 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émes_Géza <geza@kzsdabas.sulinet.hu>
> ªº¶l¥ó¤º®e¡G> 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
> >  
> 
> _________________________________________________________
> ²Ä¤G¥@(Á¾^¾W)¡A²ßºD¥¢ÅÊ(®e¯ª¨à)¡A¥S©f(³¯«³¨³)...
> Yahoo! ¹aÁn¤U¸ü
> http://ringtone.yahoo.com.hk
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBD3AVWoRBACodcxl03gUoJOqgzRfAheGLKeri8MdDy8F3fX/LwIihpWQMwh6
goSEhp6f+VkINDJ3cX3OgTYVAIJLBrzzka2wbDHnTv9A7j8+VB4Nh2ZY9RrcZdxX
g2z2NNdWVmxLPKTK+wbTXFsyLtj2IR0TASQdJKOL+VX6W7N/LYY2Mz4AXwCg8DC3
8cBi8P2ld48Un/Gvl1s/xHkD/j4r3WCsDGAzof2FiZ3wOkP9fgPbOk7v20FdXhOA
hjmGY7GCb0tsEPALPj2St3BKVgTH7iJ08us9lIx9Kux9XV1ZhlkZr1G3A0bkgUfk
Fcmih3FWmbV88Z4JFB1vhsrCFzgq3PHu5Wy37ObhpoVbs9ajo9vX09xZAL4SYq6o
7STAA/9UYgUwbB8fzG68Z7WLG8SDgEy5AL9ObHIUri+HeIHGSMtbjcksIMXkL1L5
CedPJDf/tphWrgvgROSWALJOvwc8cDAX/iwWyzAtmj+X8Xbx1QS0OJc8yPk4j9VI
Fp7zusVbRprBaIuk3ur29WbDCGFUpkyBTIdxjyw04P+sjcIxObQtRXJpY2sgRGVu
bmlzIChlRGVubmlzKSA8ZWRlbm5pc0Byb290c2hlbGwuYmU+iFcEExECABcFAj3A
VWoFCwcKAwQDFQMCAxYCAQIXgAAKCRBAR/8wlx6vQEk5AJ0fK5oMOR7Xhh6ZU4qB
Q4eFq6a/uQCcCgQ42duQ/0qgsmnu/aBcEi0EtHO5AQ0EPcBVbhAEAORKwkRPWpS5
qDe35p97UTcD2T2Oe2q29U2MV9Z5eDM5oPWYpXhGyIsKVUW2UyVpWfbVvLQfWVO+
ehfoDBHPI0GUZoOjjGBmwprII8hVc+YpJHnjTkB7ZoxNUlwCamuYXlNmQr6saQZO
sfCJO9og64+25/OGZXmd2oOC/C1qeYmTAAMFA/4xRwY6r5m03lZI1hdlR/9PzC01
ZD46bTrhIYFAeZZmyVbsttmz3A0/gMxj2sxaHoFnQE4QO3xqAV8k2KvxNzArEuj/
rpu6SaFTBG+u7ikkkCb1hCgukF6kKIAZKP9QSsTGFVgBaUlaT6PLm7LMHq2Mauap
OfztGsOfayzARNwu0IhGBBgRAgAGBQI9wFVuAAoJEEBH/zCXHq9A9FkAnjVE9wCa
i1Gau6ypIxomane6UD3NAKDkl1ulR3iEsdy8fF99Oo95tSkawg==
=86sd
-----END PGP PUBLIC KEY BLOCK-----




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Upgrade to RH9.....Help....PostgreSQL newbie
  2003-05-08 00:41 Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-08 01:24 ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Lamar Owen <lamar.owen@wgcr.org>
  2003-05-08 12:35   ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Gémes Géza <geza@kzsdabas.sulinet.hu>
  2003-05-09 14:40     ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-09 17:02       ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Erick Dennis <edennis@rootshell.be>
@ 2003-05-10 01:50         ` Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-10 20:17           ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Erick Dennis <edennis@rootshell.be>
  0 siblings, 1 reply; 7+ messages in thread

From: Raymond Chan @ 2003-05-10 01:50 UTC (permalink / raw)
  To: Erick Dennis <edennis@rootshell.be>; +Cc: pgsql-admin

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 <edennis@rootshell.be> ªº¶l¥ó¤º®e¡G>
Hello,
> 
> If using --oldpackage doesn't work, soo try
> uninstalling the package 
> manually, and then install the 7.2 package.
> 
> Best Regards.
> 
> 
> On Fri, 9 May 2003, [big5] Raymond Chan wrote:
> 
> > 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émes_Géza <geza@kzsdabas.sulinet.hu>
> > ªº¶l¥ó¤º®e¡G> 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
> > >  
> > 
> >
>
_________________________________________________________
> > ²Ä¤G¥@(Á¾^¾W)¡A²ßºD¥¢ÅÊ(®e¯ª¨à)¡A¥S©f(³¯«³¨³)...
> > Yahoo! ¹aÁn¤U¸ü
> > http://ringtone.yahoo.com.hk
> > 
> > 
> > ---------------------------(end of
> broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> > 
> 
> -- 
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
>
mQGiBD3AVWoRBACodcxl03gUoJOqgzRfAheGLKeri8MdDy8F3fX/LwIihpWQMwh6
>
goSEhp6f+VkINDJ3cX3OgTYVAIJLBrzzka2wbDHnTv9A7j8+VB4Nh2ZY9RrcZdxX
>
g2z2NNdWVmxLPKTK+wbTXFsyLtj2IR0TASQdJKOL+VX6W7N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y8fF99Oo95tSkawg==
> =86sd
> -----END PGP PUBLIC KEY BLOCK-----
> 
> 
> ---------------------------(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 

_________________________________________________________
²Ä¤G¥@(Á¾^¾W)¡A²ßºD¥¢ÅÊ(®e¯ª¨à)¡A¥S©f(³¯«³¨³)...
Yahoo! ¹aÁn¤U¸ü
http://ringtone.yahoo.com.hk




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Upgrade to RH9.....Help....PostgreSQL newbie
  2003-05-08 00:41 Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-08 01:24 ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Lamar Owen <lamar.owen@wgcr.org>
  2003-05-08 12:35   ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Gémes Géza <geza@kzsdabas.sulinet.hu>
  2003-05-09 14:40     ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
  2003-05-09 17:02       ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Erick Dennis <edennis@rootshell.be>
  2003-05-10 01:50         ` Re: Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
@ 2003-05-10 20:17           ` Erick Dennis <edennis@rootshell.be>
  0 siblings, 0 replies; 7+ messages in thread

From: Erick Dennis @ 2003-05-10 20:17 UTC (permalink / raw)
  To: Raymond Chan <cwraymond2000@yahoo.com.hk>; +Cc: pgsql-admin

Hello,

You can't only move the directory, because both database use diferent 
structure.  (tha's why the 7.3 doesn't start!!)

Do you want to use the 7.3 or 7.2?

If you want to use the 7.3, and conserve the 7.2's data, you have to:

1. Uninstall Postgresql 7.3
2. Install Postgresql 7.2 (and start the service)
3. pg_dumpall or pg_dump > x.sql  (to make a backup of your structures 
and data)
4. Uninstall the 7.2
5. Install 7.3
6. pgsql -f x.sql

There is more information about this commands in the man pages.

Good luck!

On Sat, 10 May 2003, [big5] Raymond Chan wrote:

> 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 <edennis@rootshell.be> ªº¶l¥ó¤º®e¡G>
> Hello,
> > 
> > If using --oldpackage doesn't work, soo try
> > uninstalling the package 
> > manually, and then install the 7.2 package.
> > 
> > Best Regards.
> > 
> > 
> > On Fri, 9 May 2003, [big5] Raymond Chan wrote:
> > 
> > > 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émes_Géza <geza@kzsdabas.sulinet.hu>
> > > ªº¶l¥ó¤º®e¡G> 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
> > > >  
> > > 
> > >
> >
> _________________________________________________________
> > > ²Ä¤G¥@(Á¾^¾W)¡A²ßºD¥¢ÅÊ(®e¯ª¨à)¡A¥S©f(³¯«³¨³)...
> > > Yahoo! ¹aÁn¤U¸ü
> > > http://ringtone.yahoo.com.hk
> > > 
> > > 
> > > ---------------------------(end of
> > broadcast)---------------------------
> > > TIP 4: Don't 'kill -9' the postmaster
> > > 
> > 
> > -- 
> > -----BEGIN PGP PUBLIC KEY BLOCK-----
> > Version: GnuPG v1.0.6 (GNU/Linux)
> > Comment: For info see http://www.gnupg.org
> > 
> >
> mQGiBD3AVWoRBACodcxl03gUoJOqgzRfAheGLKeri8MdDy8F3fX/LwIihpWQMwh6
> >
> goSEhp6f+VkINDJ3cX3OgTYVAIJLBrzzka2wbDHnTv9A7j8+VB4Nh2ZY9RrcZdxX
> >
> g2z2NNdWVmxLPKTK+wbTXFsyLtj2IR0TASQdJKOL+VX6W7N/LYY2Mz4AXwCg8DC3
> >
> 8cBi8P2ld48Un/Gvl1s/xHkD/j4r3WCsDGAzof2FiZ3wOkP9fgPbOk7v20FdXhOA
> >
> hjmGY7GCb0tsEPALPj2St3BKVgTH7iJ08us9lIx9Kux9XV1ZhlkZr1G3A0bkgUfk
> >
> Fcmih3FWmbV88Z4JFB1vhsrCFzgq3PHu5Wy37ObhpoVbs9ajo9vX09xZAL4SYq6o
> >
> 7STAA/9UYgUwbB8fzG68Z7WLG8SDgEy5AL9ObHIUri+HeIHGSMtbjcksIMXkL1L5
> >
> CedPJDf/tphWrgvgROSWALJOvwc8cDAX/iwWyzAtmj+X8Xbx1QS0OJc8yPk4j9VI
> >
> Fp7zusVbRprBaIuk3ur29WbDCGFUpkyBTIdxjyw04P+sjcIxObQtRXJpY2sgRGVu
> >
> bmlzIChlRGVubmlzKSA8ZWRlbm5pc0Byb290c2hlbGwuYmU+iFcEExECABcFAj3A
> >
> VWoFCwcKAwQDFQMCAxYCAQIXgAAKCRBAR/8wlx6vQEk5AJ0fK5oMOR7Xhh6ZU4qB
> >
> Q4eFq6a/uQCcCgQ42duQ/0qgsmnu/aBcEi0EtHO5AQ0EPcBVbhAEAORKwkRPWpS5
> >
> qDe35p97UTcD2T2Oe2q29U2MV9Z5eDM5oPWYpXhGyIsKVUW2UyVpWfbVvLQfWVO+
> >
> ehfoDBHPI0GUZoOjjGBmwprII8hVc+YpJHnjTkB7ZoxNUlwCamuYXlNmQr6saQZO
> >
> sfCJO9og64+25/OGZXmd2oOC/C1qeYmTAAMFA/4xRwY6r5m03lZI1hdlR/9PzC01
> >
> ZD46bTrhIYFAeZZmyVbsttmz3A0/gMxj2sxaHoFnQE4QO3xqAV8k2KvxNzArEuj/
> >
> rpu6SaFTBG+u7ikkkCb1hCgukF6kKIAZKP9QSsTGFVgBaUlaT6PLm7LMHq2Mauap
> >
> OfztGsOfayzARNwu0IhGBBgRAgAGBQI9wFVuAAoJEEBH/zCXHq9A9FkAnjVE9wCa
> > i1Gau6ypIxomane6UD3NAKDkl1ulR3iEsdy8fF99Oo95tSkawg==
> > =86sd
> > -----END PGP PUBLIC KEY BLOCK-----
> > 
> > 
> > ---------------------------(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 
> 
> _________________________________________________________
> ²Ä¤G¥@(Á¾^¾W)¡A²ßºD¥¢ÅÊ(®e¯ª¨à)¡A¥S©f(³¯«³¨³)...
> Yahoo! ¹aÁn¤U¸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m03lZI1hdlR/9PzC01
ZD46bTrhIYFAeZZmyVbsttmz3A0/gMxj2sxaHoFnQE4QO3xqAV8k2KvxNzArEuj/
rpu6SaFTBG+u7ikkkCb1hCgukF6kKIAZKP9QSsTGFVgBaUlaT6PLm7LMHq2Mauap
OfztGsOfayzARNwu0IhGBBgRAgAGBQI9wFVuAAoJEEBH/zCXHq9A9FkAnjVE9wCa
i1Gau6ypIxomane6UD3NAKDkl1ulR3iEsdy8fF99Oo95tSkawg==
=86sd
-----END PGP PUBLIC KEY BLOCK-----




^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2003-05-10 20:17 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-08 00:41 Upgrade to RH9.....Help....PostgreSQL newbie Raymond Chan <cwraymond2000@yahoo.com.hk>
2003-05-08 01:24 ` Lamar Owen <lamar.owen@wgcr.org>
2003-05-08 12:35   ` Gémes Géza <geza@kzsdabas.sulinet.hu>
2003-05-09 14:40     ` Raymond Chan <cwraymond2000@yahoo.com.hk>
2003-05-09 17:02       ` Erick Dennis <edennis@rootshell.be>
2003-05-10 01:50         ` Raymond Chan <cwraymond2000@yahoo.com.hk>
2003-05-10 20:17           ` Erick Dennis <edennis@rootshell.be>

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