X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7C352D1B4EB for ; Sat, 8 Nov 2003 21:01:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 34532-08 for ; Sat, 8 Nov 2003 17:01:09 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id B9CCDD1B4F1 for ; Sat, 8 Nov 2003 17:01:06 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hA8L16p19747; Sat, 8 Nov 2003 16:01:06 -0500 (EST) From: Bruce Momjian Message-Id: <200311082101.hA8L16p19747@candle.pha.pa.us> Subject: Re: 7.3 how remove password valid until In-Reply-To: To: alban Date: Sat, 8 Nov 2003 16:01:06 -0500 (EST) Cc: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/57 X-Sequence-Number: 15872 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@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