pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Crawford <scrawford@pinpointresearch.com>
To: Geoffrey Myers <lists@serioustechnology.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org Admin <pgsql-admin@postgresql.org>
Subject: Re: setting timezone
Date: Wed, 09 Nov 2011 11:52:52 -0800
Message-ID: <4EBADA14.3050608@pinpointresearch.com> (raw)
In-Reply-To: <4EBAD75C.8030501@serioustechnology.com>
References: <4EBA7BCC.2030704@serioustechnology.com>
	<4EBA9C3D.9030701@pinpointresearch.com>
	<15278.1320857260@sss.pgh.pa.us>
	<4EBAD412.4060705@serioustechnology.com>
	<4EBAD75C.8030501@serioustechnology.com>

On 11/09/2011 11:41 AM, Geoffrey Myers wrote:
> Geoffrey Myers wrote:
>> Tom Lane wrote:
>>> Steve Crawford <scrawford@pinpointresearch.com> writes:
>>>> On 11/09/2011 05:10 AM, Geoffrey Myers wrote:
>>>>> Is there a way to retain this information from the original 
>>>>> database when reloading?
>>>
>>>> Time-zone setting is an attribute of the server configuration, not 
>>>> of the data contained in the database.
>>>
>>> In particular, pg_dump doesn't know anything about postgresql.conf.
>>> It's up to you to copy the server's configuration files.
>>>
>>>             regards, tom lane
>>
>> Thanks Tom, seems we were not setting it in the postgresql.conf file.
>
> What about the situation where you have two databases in the same 
> cluster that need different timezones?  I'm assuming I would have to 
> rely on setting it in each database, rather in the postgresql.conf file.
>
>>
>

ALTER DATABASE foo SET TIMEZONE...

Cheers,
Steve





view thread (6+ messages)  latest in thread

Message-ID: <4EBADA14.3050608@pinpointresearch.com>
Permalink:  ../4EBADA14.3050608@pinpointresearch.com/
Also on:    postgresql.org/message-id/4EBADA14.3050608@pinpointresearch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scrawford@pinpointresearch.com, lists@serioustechnology.com, tgl@sss.pgh.pa.us
  Subject: Re: setting timezone
  In-Reply-To: <4EBADA14.3050608@pinpointresearch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox