Re: Possible to create canonicalized range type without being superuser?

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Possible to create canonicalized range type without being superuser?
Date: 2016-07-06 05:40:02
Message-ID: CA+renyXjef+aErkP=7Tf6se1hYJTAk7gn7Rq2iDS88duzprFow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jul 5, 2016 at 10:17 PM, Paul A Jungwirth
<pj(at)illuminatedcomputing(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message sangeetha 2016-07-06 07:35:02 estimate Index size
Previous Message Paul A Jungwirth 2016-07-06 05:17:06 Re: Possible to create canonicalized range type without being superuser?