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: 14381.1217358518@sss.pgh.pa.us (view raw or flat)
Thread:
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-2014 The PostgreSQL Global Development Group