Re: Possible to create canonicalized range type without being superuser? - Mailing list pgsql-general

From Paul A Jungwirth
Subject Re: Possible to create canonicalized range type without being superuser?
Date
Msg-id CA+renyXjef+aErkP=7Tf6se1hYJTAk7gn7Rq2iDS88duzprFow@mail.gmail.com
Whole thread Raw
In response to Re: Possible to create canonicalized range type without being superuser?  (Paul A Jungwirth <pj@illuminatedcomputing.com>)
List pgsql-general
On Tue, Jul 5, 2016 at 10:17 PM, Paul A Jungwirth
<pj@illuminatedcomputing.com> wrote:
> db=> create type inetrange;

Here is a follow-up question for creating inet ranges. Is there any
way to prevent someone from doing this?:

    db=> select inetrange('1.2.3.4',
'2001:0db8:0000:0042:0000:8a2e:0370:7334', '[]');
                    inetrange
    -----------------------------------------
     [1.2.3.4,2001:db8:0:42:0:8a2e:370:7334]

Thanks!
Paul


pgsql-general by date:

Previous
From: Paul A Jungwirth
Date:
Subject: Re: Possible to create canonicalized range type without being superuser?
Next
From: sangeetha
Date:
Subject: estimate Index size