Re: Question to schema public

From: Richard Huxton <dev(at)archonet(dot)com>
To: Kai Behncke <Kai-Behncke(at)gmx(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Question to schema public
Date: 2007-09-12 08:45:00
Message-ID: 46E7A70C.5060207@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kai Behncke wrote:
> Dear list,
>
> If I create on my system (Postgresql 8.2.4) a new database it gets
> automatically the schema public.
>
> I would like to know what this schema is for?
>
> On my system I have a couple of different users. The owner of the
> public-schema is postgres.

By default everyone gets access to objects in schema "public", so that's
select, update, insert, delete on any tables etc. It makes it easy to
get started.

> Could it be Fatal to give all of my users the maximum permissions to
> change that public schema? What could be the result?

Well, it depends on whether you want your users to be able to create and
drop tables,view,functions etc.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-09-12 08:53:47 Re: Database/Table Design for Global Country Statistics
Previous Message Richard Huxton 2007-09-12 08:42:29 Re: Table partitioning based on multiple criterias possible?