Recommended Postgres for 64bit

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

Recommended Postgres for 64bit

Postby husngforfood » Sun Aug 12, 2012 3:02 am

What is the recommended Postgres version for a 64bit PC?
husngforfood
 
Posts: 83
Joined: Wed Mar 21, 2012 4:03 am

Re: Recommended Postgres for 64bit

Postby WhiteRider » Sun Aug 12, 2012 4:34 am

The latest 9.0 version, which is currently 9.0.8.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Recommended Postgres for 64bit

Postby pt4pt4pt4 » Sun Aug 12, 2012 9:47 am

Anywhere some steps on upgrading?
pt4pt4pt4
 
Posts: 1097
Joined: Fri Feb 03, 2012 12:17 am

Re: Recommended Postgres for 64bit

Postby WhiteRider » Sun Aug 12, 2012 4:22 pm

It depends on your current setup - if you already have a lower version of 9.0.x you can just run the latest 9.0.x installer.

If you have an older version of PostgreSQL (8.3 or 8.4) and want to convert your existing databases you will need to make a backup using the old service (via the menu File > Backup). Then you can install the new version (9.0) - I'd suggest specifying a different port when you install 9.0 (maybe 5490 instead of 5432) so that you can use either service just by changing the port you use when creating a database.

Once you've installed 9.0 run PT4 and create a new database specifying the new port number to connect to the 9.0 service, then use File > Restore to restore your existing database to the new service.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Recommended Postgres for 64bit

Postby polk3 » Sun Aug 19, 2012 4:11 am

What's the specific issue with 9.1 again? I've seen reports on crashes and data corruption with PokerTracker, but is this because of errors in PostgreSQL or because of something PT does which breaks compatibility? Just curious.
polk3
 
Posts: 67
Joined: Thu Aug 05, 2010 1:31 pm

Re: Recommended Postgres for 64bit

Postby WhiteRider » Sun Aug 19, 2012 4:19 am

The problem is in PostgreSQL 9.1, although I don't know the technical details personally.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Recommended Postgres for 64bit

Postby kraada » Sun Aug 19, 2012 8:37 am

Our tests have shown these are errors in PostgreSQL - bad data ends up in the database in addition to various crashing issues. Since we just use COPY and UPDATE to get data in and change them it isn't really anything special we're doing.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Recommended Postgres for 64bit

Postby andy2001 » Sun Aug 19, 2012 11:17 pm

I have 9.1 installed. Do I have to uninstall psql and start a new database from scratch or is there a simple way to downgrade it?
andy2001
 
Posts: 44
Joined: Wed Apr 29, 2009 7:37 pm

Re: Recommended Postgres for 64bit

Postby kraada » Mon Aug 20, 2012 8:26 am

Backup your database using PokerTracker's Backup mechanism (File -> Backup). Then uninstall 9.1 and install 9.0 and restore via File -> Restore in PokerTracker. That should be all you need to do (though once everything is working properly you probably want to delete the 9.1 data directory manually as it could be large depending on your database size).
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 7 guests

cron
highfalutin