Re: Renaming schema's

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Renaming schema's
Date: 2002-12-02 01:23:17
Message-ID: 3591.1038792197@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jochem van Dieten <jochemd(at)oli(dot)tudelft(dot)nl> writes:
> After looking at some more databases it turned out that the public
> schema always has OID 2200.

That is what it's assigned during initdb.

> I would expect pgAdminII assuming that OID
> 2200 = public schema to be the cause of this problem (I tried messing
> with ACL's to no avail and changing the name of other schema's works).

I think it's a bad idea for it to assume that. There's no reason,
for example, why one shouldn't be able to drop and later recreate the
public schema. The public schema isn't magic at all, except that by
convention it's part of the standard search path --- and that's driven
off its name, not its OID.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-12-02 01:25:07 Re: how to make an 'UNLOCK'?
Previous Message Joe Conway 2002-12-02 01:19:55 Re: Renaming schema's