Re: Should creating a new base type require superuser status?

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Should creating a new base type require superuser status?
Дата
Msg-id 87od4fghgd.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Should creating a new base type require superuser status?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Should creating a new base type require superuser status?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> writes:

>> As a consequence we could perhaps aim to make creating new types safe rather
>> than just deal with the fact that it's not safe currently? It would be nice if
>> non-superusers could create types which used an existing set of input/output
>> functions but defined new semantics.
>
> Unless you're going to allow them to create new C functions, I'm not
> clear on how much they're going to be able to change the semantics.

Well there's plenty that can be done just using text or bytea as
representations. citext, or uuid for example.

--  Gregory Stark EnterpriseDB          http://www.enterprisedb.com Ask me about EnterpriseDB's RemoteDBA services!


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Should creating a new base type require superuser status?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Should creating a new base type require superuser status?