Re: [HACKERS] Re: inet/cidr/bind - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [HACKERS] Re: inet/cidr/bind
Date
Msg-id m0zVLTy-0000emC@druid.net
Whole thread Raw
In response to RE: [HACKERS] Re: inet/cidr/bind  ("Taral" <taral@mail.utexas.edu>)
Responses Re: [HACKERS] Re: inet/cidr/bind  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Thus spake Taral
> Can't we just use a CONSTRAINT where a host address is expected? That sounds
> easier than setting up two different types to me...

The constraint would be pretty complicated and it doesn't handle the
different output rules.

Don't worry.  After things settle down we'll fold things together so
that there is two input wrapper functions and everything else will be
handled by the same functions so you won't hardly know the difference.
I too originally thought there should be one type but Paul has convinced
me otherwise.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-hackers by date:

Previous
From: "Taral"
Date:
Subject: Whodunit? Who ate anoncvs?
Next
From: Vince Vielhaber
Date:
Subject: RE: [HACKERS] Whodunit? Who ate anoncvs?