From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Bill Cunningham <billc(at)ballydev(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Schemas: status report, call for developers |
Date: | 2002-06-08 14:45:48 |
Message-ID: | 13614.1023547548@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-interfaces |
Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I don't have a better idea, but I am wondering how this will work. If I
> create a schema with my name, does it get added to the front of my
> schema schema search path automatically,
Yes (unless you've futzed with the standard value of search_path).
> If I want to prevent some users from creating tables in my database, do
> I remove CREATE on the schema using REVOKE SCHEMA, then create a schema
> for every user using the database?
Well, you revoke world create access on the public schema (or maybe even
delete the public schema, if you don't need it). I don't see why you'd
give people their own schemas if the intent is to keep them from
creating tables.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-06-08 14:50:40 | Re: Use of /etc/services? |
Previous Message | rise | 2002-06-08 07:12:24 | Re: Use of /etc/services? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-06-08 15:12:02 | Re: [HACKERS] Schemas: status report, call for developers |
Previous Message | Bruce Momjian | 2002-06-08 05:42:35 | Re: [HACKERS] Schemas: status report, call for developers |