Re: Valid until

2024-05-18 Thread Adrian Klaver
have tired with postgres user I am able to connect Which is expected as postgres does not have a 'valid until' restriction. [postgres@postgres16 data]$ psql -U postgres -d postgres Password for user postgres: psql (16.2) Type "help" for hel

Re: Valid until

2024-05-18 Thread Adrian Klaver
+  pgbackrest | Replication  postgres   | Superuser, Create role, Create DB, Replication, Bypass RLS  test       | Password valid until 2023-05-13 00:00:00+00  user_name  | Password valid until 2024-05-13 00:00:00+00 postgres=# show timezone;  TimeZone --  UTC (1 row) postgres=# select

Re: Valid until

2024-05-14 Thread Muhammad Imtiaz
:57, Rama Krishnan wrote: > >> I recently set a user's password validity to "2024-05-13", but despite > >> this, the user is still able to connect to the database. Is this a bug, > >> or is the "valid until" parameter just for identification purposes,

Re: Valid until

2024-05-14 Thread Tom Lane
Adrian Klaver writes: > On 5/14/24 00:57, Rama Krishnan wrote: >> I recently set a user's password validity to "2024-05-13", but despite >> this, the user is still able to connect to the database. Is this a bug, >> or is the "valid until&qu

Re: Valid until

2024-05-14 Thread Adrian Klaver
On 5/14/24 00:57, Rama Krishnan wrote: Hi team, I have a question about the "valid until" parameter in the "create role" command. I recently set a user's password validity to "2024-05-13", but despite this, the user is still able to connect to the databas

Valid until

2024-05-14 Thread Rama Krishnan
Hi team, I have a question about the "valid until" parameter in the "create role" command. I recently set a user's password validity to "2024-05-13", but despite this, the user is still able to connect to the database. Is this a bug, or is the "valid

Re: ROLE VALID UNTIL timezone?

2019-11-27 Thread Adrian Klaver
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. Decided to see if guess was correct: https://git.post

Re: ROLE VALID UNTIL timezone?

2019-11-27 Thread Adrian Klaver
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

ROLE VALID UNTIL timezone?

2019-11-27 Thread Ron
Hi, In 9.6, does it default to UTC, the postgresql.conf timezone value (US/Eastern) value or to local system time? -- Angular momentum makes the world go 'round.