> My opinion is that this is a very bogus shortcut in the 
> network datatype code.  There are no cases outside the 
> inet/cidr group where an operator doesn't exactly match its 
> underlying function.  (The whole business of inet and cidr 
> being almost but not quite the same type is maldesigned
> anyway...)
> 
> The right solution for you is to declare two SQL functions.  
> Whether you make them point at the same underlying C code is 
> up to you.

Right,...

In that case may I suggest fixing the catalog so network_* functions exists for 
both datatypes!
Anything less I'd consider inconsistent...

Kind regards,

John

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to