Re: How to? Timestamp with timezone. - Mailing list pgsql-general

From Andre Lopes
Subject Re: How to? Timestamp with timezone.
Date
Msg-id 18f98e681003100100m3cf2d46cr647e4a83492f53f@mail.gmail.com
Whole thread Raw
In response to Re: How to? Timestamp with timezone.  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: How to? Timestamp with timezone.  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: How to? Timestamp with timezone.  (Steve Crawford <scrawford@pinpointresearch.com>)
List pgsql-general
Hi,

Thanks for the reply's.

[code]
ALTER DATABASE foo SET timezone TO 'someval'
ALTER ROLE bar SET timezone TO 'someval'
[/code]

I need to alter only the Timezone of the database OR I need also to alter the Role?

Best Regards,


On Wed, Mar 10, 2010 at 1:06 AM, Alvaro Herrera <alvherre@commandprompt.com> wrote:
Andre Lopes escribió:
> It is possible to do this in a shared database server?

You can also do

ALTER DATABASE foo SET timezone TO 'someval'
ALTER ROLE bar SET timezone TO 'someval'

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: log_statement and syslog severity
Next
From: "Albe Laurenz"
Date:
Subject: Re: Urgent help needed- alias name in update statement