Support for Homebrew-installed PostgreSQL

A special forum dedicated to our PT4 for Mac OS X users

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Support for Homebrew-installed PostgreSQL

Postby NimhOfJoy » Mon Dec 02, 2013 9:07 pm

I'm trying to restore this DB on OS X with PostgreSQL installed via Homebrew, but I keep getting this error:

https://www.evernote.com/shard/s89/sh/2 ... 033ad60e87

and when I find psql, the dialog box won't let me select it:

https://www.evernote.com/shard/s89/sh/3 ... 704c9dbd1d

Help?
NimhOfJoy
 
Posts: 140
Joined: Tue Jul 06, 2010 7:34 pm

Re: Support for Homebrew-installed PostgreSQL

Postby WhiteRider » Tue Dec 03, 2013 3:53 am

I've asked the developer in charge of the backup/restore functionality about this and will let you know what I find out.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Support for Homebrew-installed PostgreSQL

Postby WhiteRider » Wed Dec 04, 2013 10:24 am

The development team are looking into how we may be able to make this more flexible in future, but for now you should be able to change the path to the PostgreSQL files by editing the PokerTracker.cfg file.

In PT4 go to File > Open User Data Folder then close PT4.
In the window that opened go to the "Config" folder.
Edit the PokerTracker.cfg file in a text editor.
Find the section labelled "[Directories]" where you should see a line beginning with "PostgresBin".
You can change that to point to where your PostgreSQL files are.

Save the file and restart PT4 and then Restore should be able to access the PostgreSQL files it needs.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Support for Homebrew-installed PostgreSQL

Postby NimhOfJoy » Wed Dec 04, 2013 5:50 pm

I don't see any section labelled "Directories" - should I add it:

https://www.evernote.com/shard/s89/sh/d ... 1faf9f52cc
NimhOfJoy
 
Posts: 140
Joined: Tue Jul 06, 2010 7:34 pm

Re: Support for Homebrew-installed PostgreSQL

Postby kraada » Wed Dec 04, 2013 5:53 pm

Yes. The formatting will look like this (with your own path instead of course)

Code: Select all
[Directories]
PostgresBin=C:/Program Files/PostgreSQL/9.0/bin/
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PT4 for macOS

Who is online

Users browsing this forum: No registered users and 22 guests

cron
highfalutin