Thanks for the reply.

I do not have any database table on the serve, this is a clean 
installation/upgrade. I checked the /var/, did not find "postgres". I just 
read the README, on ver 6.5, the database is stored uder directory 
/var/lib/pgsql/, but on ver 7.0, the datas are stored under 
/var/lib/pgsql/data.  -- Should I manually move the data from /pgsql/ to 
/pgsql/data/ ?

There are other files under the /var/lib/pgsql:

pg_database pg_geqo_sample pg_group pg_hda.conf pg_log pg_pwd pg_shadow 
pg_variable

What should I do with the above files ?

Lewis


>From: Jeff Waugh <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [SLUG] Problems with upgrading to Postgresql 7
>Date: Tue, 5 Sep 2000 17:18:23 +1100
>
> > Lewis Tay wrote:
> >
> > I am using Redhat 6.2, got the Postgresql 6.5 with the OS, I wanted to
> > upgrade to ver 7.0. I download the RPMsfrom postgresql.org. and enter 
>"rpm
> > -Uvh Postgresql-7*", after that when I enter the command:
> > "/etc/rc.d/init.d/postgresql restart",  I have the error message: 
>"Checking
> > Postgresql installation: old version. need to upgrade.."
>
>
>From memory, the RPMs don't upgrade your databases after they install the
>version 7 executables. Read the documentation that comes with them, plus
>that of PostgreSQL to find the necessary update script. If you don't have
>any databases that you were using under 6.5, rm /var/postgres (I think,
>check your distro setup and look for where it keeps the databases).
>
>
> > Any idea what went wrong ? please help. I am trying to compile the PHP 
>4.0
> > with Postgresql 7, has anyone got the RPMs for PHP?
>
>
>Have a look on RPMfind.net -> there's a good set of them that are very
>nicely modularised.
>
>- Jeff
>
>
>-- [EMAIL PROTECTED] ------------------------------- http://linux.conf.au/ 
>--
>
>         Ye shall be cursed to fall in love so easily, and yet be so
>                      cold of heart as never to express it.
>
>
>--
>SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
>More Info: http://slug.org.au/lists/listinfo/slug

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to