SunQuest
           PostgreSQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesPostgreSQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old March 29th, 2008, 11:57 PM
ug45cwb ug45cwb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 ug45cwb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 19 sec
Reputation Power: 0
Database Broken

I have a fairly large postgresql 8.0 database (roughly 3gb) which became fragmented on my hard drive and performance was considerably reduced. Windows could not defragment so I closed all the processes associated with postgresql, shifted the folder onto my external drive then shifted it back. This has completely broken my database. I know very little about this program please excuse my ignorance. All the data associated with the database is in the folder D:\Program Files\PostgreSQL\8.0\data\base, is there a way to convert this data back into a database? All the programs I used to use this datasource for give a similar error -

Unable to connect to database
210 - SQLSTATE = 28000
Fatal: database "UGDB" does not exist

Any help at all would be greatly appreciated I really dont know where to start with this,

Reply With Quote
  #2  
Old March 30th, 2008, 10:08 AM
ug45cwb ug45cwb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 2 ug45cwb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 19 sec
Reputation Power: 0
Problem fixed

Some good guys on IRC helped me fix this - the solution was found here:

(i'm not allowed to post urls)

Cheers.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesPostgreSQL Help > Database Broken


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway