pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Joshua D. Drake <jd@commandprompt.com>
Cc: Bailey, Larry <lbailey@firstam.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to revoke a password
Date: Fri, 8 Jul 2005 20:17:43 -0400
Message-ID: <20050709001743.GA10063@alvh.no-ip.org> (raw)
In-Reply-To: <42CF15CC.9040203@commandprompt.com>
References: <C45835824D00A844BBD0F032D5CDED9201610765@pisgana01sxch01.ana.firstamdata.com>
	<42CF15CC.9040203@commandprompt.com>

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 (<alvherre[a]alvh.no-ip.org>)
"Y eso te lo doy firmado con mis lágrimas" (Fiebre del Loco)



view thread (6+ messages)  latest in thread

Message-ID: <20050709001743.GA10063@alvh.no-ip.org>
Permalink:  ../20050709001743.GA10063@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20050709001743.GA10063@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: alvherre@alvh.no-ip.org, jd@commandprompt.com, lbailey@firstam.com
  Subject: Re: How to revoke a password
  In-Reply-To: <20050709001743.GA10063@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox