Changing PostgreSQL for pt4 on mac having emigrated.

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Changing PostgreSQL for pt4 on mac having emigrated.

Postby jamtheriver » Wed Aug 23, 2017 3:23 pm

Hi.

PT4 requests I change certain settings to allow me access now that i've moved to Canada. Below are the commands as advised by PT, but i'm stuck at the timezone bit.

Run the Terminal application found at /Applications/Utilities/Terminal.
Type sudo nano /Library/PostgreSQL/9.3/data/postgresql.conf
Type in your OS X administrator password if requested. This will start the Nano text editor inside of the Terminal window.
You can search for the timezone = 'X' entry by pressing CTRL+W (as indicated at the bottom of the Terminal window) and typing "timezone =".
Note that you need to change the "timezone = ..." line, which is not necessarily the first instance of timezone in the file so you may need to search more than once.
Press CTRL+O to save the file (press 'Enter' to confirm), then CTRL+X to exit the editor.
The PostgreSQL server must now be restarted to allow the changes made to the configuration file to take effect. The easiest way to accomplish this is by restarting your computer.

I've tried every combination of timezone+ I can think of, but it's responding as 'timezone not found'.

Can anyone help me?

Thanks in advance.
jamtheriver
 
Posts: 3
Joined: Wed Aug 23, 2017 3:18 pm

Re: Changing PostgreSQL for pt4 on mac having emigrated.

Postby Flag_Hippo » Wed Aug 23, 2017 5:50 pm

Can you give a specific example or two of what you have tried for the timezone entry e.g:

Code: Select all
timezone = 'Europe/London'
Flag_Hippo
Moderator
 
Posts: 15211
Joined: Tue Jan 31, 2012 7:50 am

Re: Changing PostgreSQL for pt4 on mac having emigrated.

Postby jamtheriver » Fri Aug 25, 2017 10:35 am

Eastern Time Zone
EST
Canada
eastern time zone

I'm truly stuck here. Can I get the exact string i'm meant to input into terminal so I can paste it? I'm in Toronto, so it i'm on ETZ.

Thanks in advance.
jamtheriver
 
Posts: 3
Joined: Wed Aug 23, 2017 3:18 pm

Re: Changing PostgreSQL for pt4 on mac having emigrated.

Postby Flag_Hippo » Fri Aug 25, 2017 3:25 pm

As per our guide you need to specify your timezone with an authorized time zone property from the 'TZ' column here so for Toronto you can use this:

Code: Select all
timezone = 'America/Toronto'

or this:

Code: Select all
timezone = 'Canada/Eastern'
Flag_Hippo
Moderator
 
Posts: 15211
Joined: Tue Jan 31, 2012 7:50 am

Re: Changing PostgreSQL for pt4 on mac having emigrated.

Postby jamtheriver » Fri Aug 25, 2017 5:38 pm

I copied and pasted exactly what you suggested into the terminal search bar, and both came back as 'not found'. Am I being retarded here, or is this more difficult than it should be?
jamtheriver
 
Posts: 3
Joined: Wed Aug 23, 2017 3:18 pm

Re: Changing PostgreSQL for pt4 on mac having emigrated.

Postby WhiteRider » Sat Aug 26, 2017 4:11 am

If you attach your postgresql.conf file to a Support Ticket we'll take a look at it for you.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PT4 for macOS

Who is online

Users browsing this forum: No registered users and 21 guests

cron