Re: [GENERAL] configuring timezone

2013-02-07 Thread Igor Neyman
: Wednesday, February 06, 2013 1:45 PM To: Igor Neyman Cc: pgsql-general@postgresql.orgmailto:pgsql-general@postgresql.org Subject: Re: [GENERAL] configuring timezone See the archived thread here: http://www.postgresql.org/message-id/CAEghcWD8DXjroBYCZsdGrx+cHTCbCbW9es2uQ+o7a8NZ61JT=q...@mail.gmail.com

[GENERAL] configuring timezone

2013-02-06 Thread Igor Neyman
Timezone configuration parameter (defaulting to system timezone) worked fine for us before upgrading from 8.4. to 9.2. Now we've got a problem. 9.2 Release Notes says: * Identify the server time zone during initdb, and set postgresql.conf entries

Re: [GENERAL] configuring timezone

2013-02-06 Thread Terence Ferraro
See the archived thread here: http://www.postgresql.org/message-id/CAEghcWD8DXjroBYCZsdGrx+cHTCbCbW9es2uQ+o7a8NZ61JT=q...@mail.gmail.com Short version: Sorry, but you're going to need to recompile if you want that behavior. Here's a diff applied against 9.2.1 http://pastebin.com/5AyaX2RF. I've

Re: [GENERAL] configuring timezone

2013-02-06 Thread Igor Neyman
06, 2013 1:45 PM To: Igor Neyman Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] configuring timezone See the archived thread here: http://www.postgresql.org/message-id/CAEghcWD8DXjroBYCZsdGrx+cHTCbCbW9es2uQ+o7a8NZ61JT=q...@mail.gmail.com Short version: Sorry, but you're going to need

Re: [GENERAL] configuring timezone

2013-02-06 Thread Terence Ferraro
*To:* Igor Neyman *Cc:* pgsql-general@postgresql.org *Subject:* Re: [GENERAL] configuring timezone ** ** See the archived thread here: http://www.postgresql.org/message-id/CAEghcWD8DXjroBYCZsdGrx+cHTCbCbW9es2uQ+o7a8NZ61JT=q...@mail.gmail.com Short version: Sorry, but you're going to need

Re: [GENERAL] configuring timezone

2013-02-06 Thread Igor Neyman
: [GENERAL] configuring timezone Sorry, but from what I understand the change is permanent. If recompile is not an option but you're on Windows let me know; I do have binaries available.. On Wed, Feb 6, 2013 at 2:05 PM, Igor Neyman iney...@perceptron.commailto:iney...@perceptron.com wrote: Terence

Re: [GENERAL] configuring timezone

2013-02-06 Thread Adrian Klaver
On 02/06/2013 10:32 AM, Igor Neyman wrote: Timezone configuration parameter (defaulting to system timezone) worked fine for us before upgrading from 8.4. to 9.2. Now we’ve got a problem. 9.2 Release Notes says: · Identify the server time zone during initdb, and set postgresql.conf entries

Re: [GENERAL] configuring timezone

2013-02-06 Thread Igor Neyman
-Original Message- From: Adrian Klaver [mailto:adrian.kla...@gmail.com] Sent: Wednesday, February 06, 2013 4:40 PM To: Igor Neyman Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] configuring timezone On 02/06/2013 10:32 AM, Igor Neyman wrote: Timezone configuration

Re: [GENERAL] configuring timezone

2013-02-06 Thread Adrian Klaver
On 02/06/2013 01:47 PM, Igor Neyman wrote: -- Adrian Klaver adrian.kla...@gmail.com Sometimes, but not always. I guess you could ship a script that sets the timezone when the server is installed. Going back to the reason for this change in Release Notes: This avoids expensive

Re: [GENERAL] configuring timezone

2013-02-06 Thread Tom Lane
Igor Neyman iney...@perceptron.com writes: Going back to the reason for this change in Release Notes: This avoids expensive time zone probes during server start. How expensive? The time zone probe logic involves reading every file under /usr/share/zoneinfo (or wherever you have the Olson tz

Re: [GENERAL] configuring timezone

2013-02-06 Thread Terence Ferraro
Ferraro [mailto:terencejferr...@gmail.com] *Sent:* Wednesday, February 06, 2013 3:07 PM *To:* Igor Neyman *Cc:* pgsql-general@postgresql.org *Subject:* Re: [GENERAL] configuring timezone ** ** Sorry, but from what I understand the change is permanent. If recompile is not an option

Re: [GENERAL] configuring timezone

2013-02-06 Thread Igor Neyman
Thank you for explaining. Regards, Igor Neyman From: Tom Lane [t...@sss.pgh.pa.us] Sent: Wednesday, February 06, 2013 5:11 PM To: Igor Neyman Cc: Adrian Klaver; pgsql-general@postgresql.org Subject: Re: [GENERAL] configuring timezone Igor Neyman iney