Re: Should creating a new base type require superuser status? - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Should creating a new base type require superuser status?
Date
Msg-id 87od4fghgd.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: Should creating a new base type require superuser status?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Should creating a new base type require superuser status?  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Should creating a new base type require superuser status?
Next
From: Alvaro Herrera
Date:
Subject: Re: Should creating a new base type require superuser status?