Unix Technical Forum

was a initdb required from 8.1beta3 -> beta4?

This is a discussion on was a initdb required from 8.1beta3 -> beta4? within the Pgsql General forums, part of the PostgreSQL category; --> Hi, I messed up and updated my beta3 to 8.1 and didn't realize a initdb was required. Is there ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-09-2008, 07:16 AM
Tony Caduto
 
Posts: n/a
Default was a initdb required from 8.1beta3 -> beta4?

Hi,
I messed up and updated my beta3 to 8.1 and didn't realize a initdb was
required.
Is there anyway I can get at the data? It's on Gentoo and the
/var/lib/postgresql/data dir is still intact.

I tried to install beta4 but got the this error:

FATAL: database files are incompatible with server
DETAIL: The database cluster was initialized with CATALOG_VERSION_NO
200510051, but the server was compiled with CATALOG_VERSION_NO 200510211.
HINT: It looks like you need to initdb.

Thanks,

Tony

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-09-2008, 07:16 AM
Joshua D. Drake
 
Posts: n/a
Default Re: was a initdb required from 8.1beta3 -> beta4?

On Fri, 2005-12-02 at 16:03 -0600, Tony Caduto wrote:
> Hi,
> I messed up and updated my beta3 to 8.1 and didn't realize a initdb was
> required.
> Is there anyway I can get at the data? It's on Gentoo and the
> /var/lib/postgresql/data dir is still intact.


Install beta3, backup, install 8.1 restore.

>
> I tried to install beta4 but got the this error:
>
> FATAL: database files are incompatible with server
> DETAIL: The database cluster was initialized with CATALOG_VERSION_NO
> 200510051, but the server was compiled with CATALOG_VERSION_NO 200510211.
> HINT: It looks like you need to initdb.
>
> Thanks,
>
> Tony
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match

--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PLphp, PLperl, ODBCng - http://www.commandprompt.com/



---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-09-2008, 07:16 AM
Tony Caduto
 
Posts: n/a
Default Re: was a initdb required from 8.1beta3 -> beta4?

Joshua D. Drake wrote
>> .
>>

>
> Install beta3, backup, install 8.1 restore.
>
>


That's what I wanted to do but I can't seem to find a beta3 tar.gz
anywhere, the downloads only go to beta4 :-(



Tony

---------------------------(end of broadcast)---------------------------
TIP 1: 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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-09-2008, 07:16 AM
Tom Lane
 
Posts: n/a
Default Re: was a initdb required from 8.1beta3 -> beta4?

Tony Caduto <tony_caduto@amsoftwaredesign.com> writes:
>> Install beta3, backup, install 8.1 restore.


> That's what I wanted to do but I can't seem to find a beta3 tar.gz
> anywhere, the downloads only go to beta4 :-(


If you don't find a tarball, you could pull the beta3 tag from CVS.
See http://developer.postgresql.org/docs/postgres/cvs.html
The tag you want is REL8_1_0BETA3 ... too lazy to check the cvs
man page, but I think you would add "-r REL8_1_0BETA3" to the
normal cvs checkout command.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-09-2008, 07:16 AM
Tony Caduto
 
Posts: n/a
Default Re: was a initdb required from 8.1beta3 -> beta4?

Tom Lane wrote:
> If you don't find a tarball, you could pull the beta3 tag from CVS.
> See http://developer.postgresql.org/docs/postgres/cvs.html
> The tag you want is REL8_1_0BETA3 ... too lazy to check the cvs
> man page, but I think you would add "-r REL8_1_0BETA3" to the
> normal cvs checkout command.
>
> regards, tom lane
>
>

Thanks Tom,
I will give that a go.

Tony

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:16 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com