X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id F18CE52A03 for ; Fri, 8 Jul 2005 21:17:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12844-10 for ; Sat, 9 Jul 2005 00:17:45 +0000 (GMT) Received: from mr2.surnet.cl (smtp2.surnet.cl [216.155.73.163]) by svr1.postgresql.org (Postfix) with ESMTP id 242DE5282F for ; Fri, 8 Jul 2005 21:17:44 -0300 (ADT) Received: from smtp2.surnet.cl (216.155.73.169) by mr2.surnet.cl (7.0.031.3) id 4259ADFA0141AF22; Fri, 8 Jul 2005 20:17:26 -0400 Received: from smtp2.surnet.cl (mr2.surnet.cl []) by mr2.surnet.cl ([216.155.73.169]); Sat, 09 Jul 2005 00:17:26 +0000 Received: from cluster.surnet.cl (216.155.73.164) by smtp2.surnet.cl (7.0.031.3) id 4259ADE300C499B4; Fri, 8 Jul 2005 20:17:26 -0400 Received: from alvh.no-ip.org (216.155.85.95) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 42B3EF60002F08C0; Fri, 8 Jul 2005 20:17:38 -0400 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 82085C2DC70; Fri, 8 Jul 2005 20:17:43 -0400 (CLT) Date: Fri, 8 Jul 2005 20:17:43 -0400 From: Alvaro Herrera To: "Joshua D. Drake" Cc: "Bailey, Larry" , pgsql-performance@postgresql.org Subject: Re: How to revoke a password Message-ID: <20050709001743.GA10063@alvh.no-ip.org> References: <42CF15CC.9040203@commandprompt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <42CF15CC.9040203@commandprompt.com> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.742 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200507/98 X-Sequence-Number: 13339 On Fri, Jul 08, 2005 at 05:09:48PM -0700, Joshua D. Drake wrote: > Bailey, Larry wrote: > >I created a user with a password. That newly created user now have > >tables and indexes. I want to ALTER that user to exclude the password. > >How is this accomplished without dropping and recreating the users? > > Never tried to go backwards before but: > > alter user foo with encrypted password ''; I think you use NULL as password to ALTER USER. -- Alvaro Herrera () "Y eso te lo doy firmado con mis lágrimas" (Fiebre del Loco)