Revoking the right to create (non-temporary) tables? - Mailing list pgsql-novice

From Brian Hurt
Subject Revoking the right to create (non-temporary) tables?
Date
Msg-id 45E44D92.1030400@janestcapital.com
Whole thread Raw
Responses Re: Revoking the right to create (non-temporary) tables?
List pgsql-novice
Is there a way to revoke the right of a given user from creating
tables?  By preference I'd restrict only creating non-temporary tables.

I've tried both
REVOKE CREATE ON DATABASE dbase FROM user;
and:
REVOKE CREATE ON SCHEMA public FROM user;

neither of these seem to work.  Help?

The idea I'm looking for is a "safe" user- a user that can view the
production database but can't change or create anything.  This allows
fumble-fingered admins to keep a psql open in a window without having to
worry about typing the wrong command in the wrong window, and also
allows us to give out "guest" accounts.

Brian


pgsql-novice by date:

Previous
From: Kevin Hunter
Date:
Subject: Re: Get a list of databases?
Next
From: Tom Lane
Date:
Subject: Re: Revoking the right to create (non-temporary) tables?