Re: ROLE VALID UNTIL timezone?

Поиск
Список
Период
Сортировка
Искать
От
Adrian Klaver
Тема
Re: ROLE VALID UNTIL timezone?
Дата
Msg-id
4375fad2-334f-3d9a-6b2c-ba0e4f337601@aklaver.com
Ответ на
Список
Дерево обсуждения
ROLE VALID UNTIL timezone? Ron <ronljohnsonjr@gmail.com>
Re: ROLE VALID UNTIL timezone? Adrian Klaver <adrian.klaver@aklaver.com>
Re: ROLE VALID UNTIL timezone? Adrian Klaver <adrian.klaver@aklaver.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


В списке pgsql-general по дате отправления
От: Ron
Дата:
Сообщение: ROLE VALID UNTIL timezone?
От: Justin
Дата:
FAQ