Re: 7.3 how remove password valid until

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: alban <alban_dot_minassian_(at)wanadoo(dot)fr>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: 7.3 how remove password valid until
Date: 2003-11-08 21:01:06
Message-ID: 200311082101.hA8L16p19747@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

alban wrote:
> How remove a password validity ?
>
>
> CREATE USSER xxxxx WITH VALID UNTIL 'uuuuuu'
> ALTER USSER xxxxx WITH VALID UNTIL 'uuuuuu'
> but how remove password valid until ?

I think you have to specify the data as 'infinity'.

test=> CREATE USER xxxxx WITH VALID UNTIL '2005-01-01';
CREATE USER
test=> ALTER USER xxxxx WITH VALID UNTIL 'infinity';
ALTER USER

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2003-11-08 21:03:15 Re: 7.3 : how add user when last user have lost 'createuser' option
Previous Message George Essig 2003-11-08 15:39:32 Re: search facilities