Invalid PostgrSQL Connection Object

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Invalid PostgrSQL Connection Object

Postby Money022 » Fri Jul 24, 2009 8:18 pm

I read up on other threads similar to this so I know that running the housekeeping feature seems to cause your database to fail. So that's my issue. However, I tried one of the suggestions, that being to create a new database. I did and now I was able to load my missing hands. But now I have two databases. I'm guessing the first one that failed is shot. Is there a way to merge the two without messing up the new database? I have almost 89k hands that I could merge if I chose to. I just don't want to get into a spot where I either lose all the hands or have to reload them. I had to do it a few days ago and it took probably close to 10 hours. Not fun.

Or if it's not too much trouble, can someone take a peek at the log files and see if a repair to the main database is possible?
Money022
 
Posts: 19
Joined: Tue Mar 18, 2008 10:55 pm

Re: Invalid PostgrSQL Connection Object

Postby WhiteRider » Sat Jul 25, 2009 4:13 am

Running housekeeping is good for your database, not bad - if you don't do it PT3's performance will suffer.

You can import all your hands into the new database.
If you have the original hand histories (likely in the 'processed' folder) you can just import those. Otherwise you can export the hands from the old database first. Then use manual import to import them to the new database.

Tutorial: Exporting Sessions
Tutorial: Using Manual Import
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Invalid PostgrSQL Connection Object

Postby Money022 » Sat Jul 25, 2009 11:02 pm

I'm concerned that running the housekeeping tools will result in the PostgrSQL connection error again. Should I expect that this will happen and I will need to find a fix each time, or are these isolated incidents?

Thanks
Money022
 
Posts: 19
Joined: Tue Mar 18, 2008 10:55 pm

Re: Invalid PostgrSQL Connection Object

Postby WhiteRider » Sun Jul 26, 2009 4:04 am

Housekeeping is a necessary part of using PT3 and should not cause any problems.
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Invalid PostgrSQL Connection Object

Postby Money022 » Sun Jul 26, 2009 12:52 pm

Okay. Thanks for responding.
Money022
 
Posts: 19
Joined: Tue Mar 18, 2008 10:55 pm


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 19 guests

cron