Re: ROLE VALID UNTIL timezone?

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ron <ronljohnsonjr(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: ROLE VALID UNTIL timezone?
Date: 2019-11-27 22:25:55
Message-ID: 4375fad2-334f-3d9a-6b2c-ba0e4f337601@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/27/19 2:19 PM, Ron wrote:
> Hi,
>
> In 9.6, does it default to UTC, the postgresql.conf timezone value
> (US/Eastern) value or to local system time?
>
>

test_(postgres)# show timezone;
TimeZone
------------
US/Pacific

test_(postgres)# create role ts_test valid until '12/31/2020';
CREATE ROLE

ts_test | Cannot login
+| {}
| Password valid until 2020-12-31 00:00:00-08
|

Best guess it operates like if specifying a value for a timestamptz field.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Justin 2019-11-27 23:17:37 Re: Install different directory issues
Previous Message Ron 2019-11-27 22:19:05 ROLE VALID UNTIL timezone?