Re: contrib catalogs

Поиск
Список
Период
Сортировка
От Kevin Neufeld
Тема Re: contrib catalogs
Дата
Msg-id 4888A303.5070103@refractions.net
обсуждение исходный текст
Ответ на Re: contrib catalogs  (Kevin Neufeld <kneufeld@refractions.net>)
Ответы Re: contrib catalogs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> Tom Lane wrote:

>> A superuser can create whatever he wants in pg_catalog.  Whether this
>> is a good idea or will behave smoothly is a topic that has not been
>> thought about, to my knowledge.
>>
>>             regards, tom lane
>>
>

Sorry, Tom. I think you are mistaken.  In my 8.3 instance, system
catalog modifications are not allowed.

/opt/pgsql83/bin/psql -p 5432 -U postgres postgres

Welcome to psql 8.3.3, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
        \h for help with SQL commands
        \? for help with psql commands
        \g or terminate with semicolon to execute query
        \q to quit

postgres=# \du
                                List of roles
  Role name | Superuser | Create role | Create DB | Connections | Member of
-----------+-----------+-------------+-----------+-------------+-----------
  postgres  | yes       | yes         | yes       | no limit    | {}


postgres=# CREATE TABLE pg_catalog.test (id integer);
ERROR:  permission denied to create "pg_catalog.test"
DETAIL:  System catalog modifications are currently disallowed.


It would be interesting to test a contrib module install in pg_catalog
though.
Cheers,
-- Kevin

В списке pgsql-general по дате отправления:

Предыдущее
От: "M. François Benoît-Marand"
Дата:
Сообщение: Re: C function :: SECOND PROBLEM SOLVED :: SPI_finish releases memory!
Следующее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: php + postgresql