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

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Should creating a new base type require superuser status?
Date: 2008-07-30 22:01:06
Message-ID: 87od4fghgd.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pljava-dev


"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-07-30 22:07:53 Re: Should creating a new base type require superuser status?
Previous Message Tom Lane 2008-07-30 21:29:48 Re: Should creating a new base type require superuser status?

Browse pljava-dev by date

  From Date Subject
Next Message Alvaro Herrera 2008-07-30 22:07:53 Re: Should creating a new base type require superuser status?
Previous Message Tom Lane 2008-07-30 21:29:48 Re: Should creating a new base type require superuser status?