Re: How to? Timestamp with timezone.

From: Andre Lopes <lopes80andre(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to? Timestamp with timezone.
Date: 2010-03-10 09:00:18
Message-ID: 18f98e681003100100m3cf2d46cr647e4a83492f53f@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)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.
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2010-03-10 09:32:19 Re: Urgent help needed- alias name in update statement
Previous Message Magnus Hagander 2010-03-10 08:49:25 Re: log_statement and syslog severity