Skip site navigation (1) Skip section navigation (2)

Re: Privileges & roles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carol Walter <walterc(at)indiana(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Privileges & roles
Date: 2008-07-29 19:08:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Carol Walter <walterc(at)indiana(dot)edu> writes:
> How do you make a user that can only create temporary tables?

Well, you grant them TEMP privilege on the database, and you revoke
everything else.  I suspect the key bit you're missing is to revoke
public CREATE privilege on the "public" schema.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: Chris BovitzDate: 2008-07-29 21:03:54
Subject: Upgrading with WALs
Previous:From: Carol WalterDate: 2008-07-29 15:47:37
Subject: Privileges & roles

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group