7.3 how remove password valid until

Поиск
Список
Период
Сортировка
Искать

7.3 how remove password valid until

От:
alban <alban_dot_minassian_@wanadoo.fr>
Дата:
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 ?

Thank
Alban






Re: 7.3 how remove password valid until

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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 USERtest=> ALTER USER xxxxx WITH VALID UNTIL 'infinity';ALTER USER

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

Re: 7.3 how remove password valid until

От:
alban <alban_dot_minassian_@wanadoo.fr>
Дата:
Bruce Momjian wrote:

> 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
> 

Thank You
Alban

FAQ