Re: Something I don't understand with the use of schemas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Guillaume LELARGE <guillaume(dot)lelarge(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Something I don't understand with the use of schemas
Date: 2005-12-10 16:43:31
Message-ID: 20862.1134233011@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Guillaume LELARGE <guillaume(dot)lelarge(at)gmail(dot)com> writes:
> Apparently, I can rename all schemas, even system schemas !
> metier=# alter schema pg_catalog rename to foobar;
> ALTER SCHEMA

If you are superuser, you can do anything you want, up to and including
breaking the system irretrievably. Compare "rm -rf /" on Unix. We
won't be putting training wheels on superuser status for the same
reasons that no one finds it a good idea to restrict root's abilities.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2005-12-10 17:03:56 Re: Something I don't understand with the use of schemas
Previous Message Dave Page 2005-12-10 16:31:23 pgInstaller 8.1.1