From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: ROLE VALID UNTIL timezone?
Date: Wed, 27 Nov 2019 14:25:55 -0800
Message-ID: <4375fad2-334f-3d9a-6b2c-ba0e4f337601@aklaver.com> (raw)
In-Reply-To: <b5127b1b-1643-b298-ba0e-4b8f16c65789@gmail.com>
References: <b5127b1b-1643-b298-ba0e-4b8f16c65789@gmail.com>
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.klaver@aklaver.com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, ronljohnsonjr@gmail.com
Subject: Re: ROLE VALID UNTIL timezone?
In-Reply-To: <4375fad2-334f-3d9a-6b2c-ba0e4f337601@aklaver.com>
References: <b5127b1b-1643-b298-ba0e-4b8f16c65789@gmail.com> <4375fad2-334f-3d9a-6b2c-ba0e4f337601@aklaver.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